#F2D477#F2D477
#F2D477 is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.6% C 0.118 H 92.0°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D477 |
|---|---|
| RGB | rgb(242, 212, 119) |
| HSL | hsl(45, 83%, 71%) |
| HSV | hsv(45, 51%, 95%) |
| CMYK | cmyk(0%, 12.4%, 50.8%, 5.1%) |
| CIE-LAB | lab(85.65, -1.08, 49.47) |
| CIE-LCH | lch(85.65, 49.48, 91.25°) |
| OKLab | oklab(87.6% -0.004 0.1177) |
| OKLCH | oklch(87.6% 0.118 92) |
| XYZ | xyz(63.4935, 67.2990, 27.0947) |
| Luminance | 0.6730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.04
Sandy
#F1DA7A
ΔE00 2.36
Sand (survey)
#E2CA76
ΔE00 3.23
Light Mustard
#F7D560
ΔE00 3.26
Pale Gold
#FDDE6C
ΔE00 3.58
Maize
#F4D054
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D477 #7795F2
analogous
#F29677 #F2D477 #D2F277
triadic
#F2D477 #77F2D4 #D477F2
tetradic
#F2D477 #77F296 #7795F2 #F277D2
square
#F2D477 #77F296 #7795F2 #F277D2
split-complementary
#F2D477 #77D2F2 #9677F2
monochromatic
#DAAA15 #EDC23F #F2D477 #F7E6AF #FCF6E3
Accessibility & contrast
On white
1.45
#F2D477 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.46
#F2D477 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D477
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D477 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D477 | 1.00 | 1.45 | 14.46 | 14.46 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D16F
Deuteranopia (green-blind)
#EDDA7B
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d477; /* rgb */ color: rgb(242, 212, 119); /* oklch */ color: oklch(87.6% 0.118 92.0);
Tailwind
colors: {
custom: {
50: '#f9e1a0',
500: '#f2d477',
950: '#000000',
},
}SCSS
$custom: #f2d477; $custom-light: #f9e1a0; $custom-dark: #000000;
JSON
{
"hex": "#f2d477",
"rgb": {
"r": 242,
"g": 212,
"b": 119
},
"hsl": {
"h": 45.366,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.87604,
"c": 0.11778,
"h": 92
},
"luminance": 0.67296
}Semantic roles & 50–950 ramp
primary
#F2D477
secondary
#4163CC
accent
#3BDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480