#DDDDAA color
#DDDDAA is a light muted yellow colour. It is rgb(221, 221, 170) in RGB and hsl(60, 43%, 77%) in HSL. Text in black reads better on it: the contrast is 15.00:1 against black and 1.40:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#DDDDAA}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{DD}_{16}=221,\ B=\mathrm{AA}_{16}=170 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#AAAADD} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#DDDDAA} = \mathrm{rgb}(221, 221, 170) \]
\[ \mathrm{#DDDDAA}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{DD}_{16}=221,\ B=\mathrm{AA}_{16}=170 \]
\[ H=60^\circ,\quad S=43\%,\quad L=77\% \]
\[ 60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#AAAADD} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.40:1\ \text{(on white)} \]#DDDDAA in every colour format
| Format | Value |
|---|---|
| HEX | #DDDDAA |
| RGB | rgb(221, 221, 170) |
| RGB (percent) | rgb(86.7%, 86.7%, 66.7%) |
| HSL | hsl(60, 43%, 77%) |
| HSV / HSB | hsv(60, 23%, 87%) |
| CMYK | cmyk(0%, 0%, 23%, 13%) |
| Decimal | 14540202 |
| Description | light muted yellow |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 1.40:1 | fail | fail | fail | fail |
| Black text | 15.00:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #25251C #4A4A39 #6F6F55 #939371 #B8B88E |
| This colour | #DDDDAA |
| Tints (mixed with white) | #E3E3B8 #E8E8C6 #EEEED5 #F4F4E3 #F9F9F1 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #E6D9A7 | 5 |
| Deuteranopia | #E7DBAC | 5 |
| Tritanopia | #E5D6CF | 23 |
| Grayscale | #DADADA | - |
Nearest named colours
| Name | Hex |
|---|---|
| Pale goldenrod | #EEE8AA |
| Wheat | #F5DEB3 |
| Lemon chiffon | #FFFACD |
| Moccasin | #FFE4B5 |
Questions
What is the RGB value of #DDDDAA?
rgb(221, 221, 170): red 221, green 221, blue 170.
What is the HSL value of #DDDDAA?
hsl(60, 43%, 77%): a hue of 60°, 43% saturation and 77% lightness.
What is the complementary colour of #DDDDAA?
#AAAADD, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #222255.
Should I use white or black text on #DDDDAA?
Black. White gives 1.40:1 and black 15.00:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DDDDAA?
cmyk(0%, 0%, 23%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #DDDDAA?
Pale goldenrod (#EEE8AA).