#EEDDAA color
#EEDDAA is a light yellow colour. It is rgb(238, 221, 170) in RGB and hsl(45, 67%, 80%) in HSL. Text in black reads better on it: the contrast is 15.56:1 against black and 1.35: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{#EEDDAA}:\quad R=\mathrm{EE}_{16}=238,\ 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.
45^\circ + 180^\circ = 225^\circ ;\Rightarrow; \mathrm{#AABBEE} - 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{#EEDDAA} = \mathrm{rgb}(238, 221, 170) \]
\[ \mathrm{#EEDDAA}:\quad R=\mathrm{EE}_{16}=238,\ G=\mathrm{DD}_{16}=221,\ B=\mathrm{AA}_{16}=170 \]
\[ H=45^\circ,\quad S=67\%,\quad L=80\% \]
\[ 45^\circ + 180^\circ = 225^\circ ;\Rightarrow; \mathrm{#AABBEE} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.35:1\ \text{(on white)} \]#EEDDAA in every colour format
| Format | Value |
|---|---|
| HEX | #EEDDAA |
| RGB | rgb(238, 221, 170) |
| RGB (percent) | rgb(93.3%, 86.7%, 66.7%) |
| HSL | hsl(45, 67%, 80%) |
| HSV / HSB | hsv(45, 29%, 93%) |
| CMYK | cmyk(0%, 7%, 29%, 7%) |
| Decimal | 15654314 |
| Description | light 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.35:1 | fail | fail | fail | fail |
| Black text | 15.56:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #28251C #4F4A39 #776F55 #9F9371 #C6B88E |
| This colour | #EEDDAA |
| Tints (mixed with white) | #F1E3B8 #F4E8C6 #F7EED5 #F9F4E3 #FCF9F1 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #E8DBA7 | 2 |
| Deuteranopia | #EDE0AC | 2 |
| Tritanopia | #F9D5CF | 24 |
| Grayscale | #DEDEDE | - |
Nearest named colours
| Name | Hex |
|---|---|
| Wheat | #F5DEB3 |
| Moccasin | #FFE4B5 |
| Navajo white | #FFDEAD |
| Pale goldenrod | #EEE8AA |
Questions
What is the RGB value of #EEDDAA?
rgb(238, 221, 170): red 238, green 221, blue 170.
What is the HSL value of #EEDDAA?
hsl(45, 67%, 80%): a hue of 45°, 67% saturation and 80% lightness.
What is the complementary colour of #EEDDAA?
#AABBEE, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #112255.
Should I use white or black text on #EEDDAA?
Black. White gives 1.35:1 and black 15.56:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #EEDDAA?
cmyk(0%, 7%, 29%, 7%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #EEDDAA?
Wheat (#F5DEB3).