#FFDD77 color
#FFDD77 is a light yellow colour. It is rgb(255, 221, 119) in RGB and hsl(45, 100%, 73%) in HSL. Text in black reads better on it: the contrast is 15.86:1 against black and 1.32: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{#FFDD77}:\quad R=\mathrm{FF}_{16}=255,\ G=\mathrm{DD}_{16}=221,\ B=\mathrm{77}_{16}=119 - 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{#7799FF} - 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{#FFDD77} = \mathrm{rgb}(255, 221, 119) \]
\[ \mathrm{#FFDD77}:\quad R=\mathrm{FF}_{16}=255,\ G=\mathrm{DD}_{16}=221,\ B=\mathrm{77}_{16}=119 \]
\[ H=45^\circ,\quad S=100\%,\quad L=73\% \]
\[ 45^\circ + 180^\circ = 225^\circ ;\Rightarrow; \mathrm{#7799FF} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.32:1\ \text{(on white)} \]#FFDD77 in every colour format
| Format | Value |
|---|---|
| HEX | #FFDD77 |
| RGB | rgb(255, 221, 119) |
| RGB (percent) | rgb(100.0%, 86.7%, 46.7%) |
| HSL | hsl(45, 100%, 73%) |
| HSV / HSB | hsv(45, 53%, 100%) |
| CMYK | cmyk(0%, 13%, 53%, 0%) |
| Decimal | 16768375 |
| 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.32:1 | fail | fail | fail | fail |
| Black text | 15.86:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #2A2514 #554A28 #806F3C #AA934F #D5B863 |
| This colour | #FFDD77 |
| Tints (mixed with white) | #FFE38E #FFE8A4 #FFEEBB #FFF4D2 #FFF9E8 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #F1DA6E | 6 |
| Deuteranopia | #F9E47B | 6 |
| Tritanopia | #FFCFC5 | 46 |
| Grayscale | #E0E0E0 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Khaki | #F0E68C |
| Dark khaki | #BDB76B |
| Pale goldenrod | #EEE8AA |
| Goldenrod | #DAA520 |
Questions
What is the RGB value of #FFDD77?
rgb(255, 221, 119): red 255, green 221, blue 119.
What is the HSL value of #FFDD77?
hsl(45, 100%, 73%): a hue of 45°, 100% saturation and 73% lightness.
What is the complementary colour of #FFDD77?
#7799FF, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #002288.
Should I use white or black text on #FFDD77?
Black. White gives 1.32:1 and black 15.86:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #FFDD77?
cmyk(0%, 13%, 53%, 0%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #FFDD77?
Khaki (#F0E68C).