#FFEE99 color
#FFEE99 is a light yellow colour. It is rgb(255, 238, 153) in RGB and hsl(50, 100%, 80%) in HSL. Text in black reads better on it: the contrast is 17.94:1 against black and 1.17: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{#FFEE99}:\quad R=\mathrm{FF}_{16}=255,\ G=\mathrm{EE}_{16}=238,\ B=\mathrm{99}_{16}=153 - 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.
50^\circ + 180^\circ = 230^\circ ;\Rightarrow; \mathrm{#99AAFF} - 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{#FFEE99} = \mathrm{rgb}(255, 238, 153) \]
\[ \mathrm{#FFEE99}:\quad R=\mathrm{FF}_{16}=255,\ G=\mathrm{EE}_{16}=238,\ B=\mathrm{99}_{16}=153 \]
\[ H=50^\circ,\quad S=100\%,\quad L=80\% \]
\[ 50^\circ + 180^\circ = 230^\circ ;\Rightarrow; \mathrm{#99AAFF} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.17:1\ \text{(on white)} \]#FFEE99 in every colour format
| Format | Value |
|---|---|
| HEX | #FFEE99 |
| RGB | rgb(255, 238, 153) |
| RGB (percent) | rgb(100.0%, 93.3%, 60.0%) |
| HSL | hsl(50, 100%, 80%) |
| HSV / HSB | hsv(50, 40%, 100%) |
| CMYK | cmyk(0%, 7%, 40%, 0%) |
| Decimal | 16772761 |
| 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.17:1 | fail | fail | fail | fail |
| Black text | 17.94:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #2A2819 #554F33 #80774D #AA9F66 #D5C680 |
| This colour | #FFEE99 |
| Tints (mixed with white) | #FFF1AA #FFF4BB #FFF7CC #FFF9DD #FFFCEE |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #FEE993 | 2 |
| Deuteranopia | #FFF09C | 1 |
| Tritanopia | #FFE3D9 | 38 |
| Grayscale | #EDEDED | - |
Nearest named colours
| Name | Hex |
|---|---|
| Khaki | #F0E68C |
| Pale goldenrod | #EEE8AA |
| Navajo white | #FFDEAD |
| Moccasin | #FFE4B5 |
Questions
What is the RGB value of #FFEE99?
rgb(255, 238, 153): red 255, green 238, blue 153.
What is the HSL value of #FFEE99?
hsl(50, 100%, 80%): a hue of 50°, 100% saturation and 80% lightness.
What is the complementary colour of #FFEE99?
#99AAFF, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #001166.
Should I use white or black text on #FFEE99?
Black. White gives 1.17:1 and black 17.94:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #FFEE99?
cmyk(0%, 7%, 40%, 0%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #FFEE99?
Khaki (#F0E68C).