#F2E577#F2E577
#F2E577 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.0% C 0.132 H 102.6°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E577 |
|---|---|
| RGB | rgb(242, 229, 119) |
| HSL | hsl(54, 83%, 71%) |
| HSV | hsv(54, 51%, 95%) |
| CMYK | cmyk(0%, 5.4%, 50.8%, 5.1%) |
| CIE-LAB | lab(89.98, -9.67, 54.65) |
| CIE-LCH | lch(89.98, 55.50, 100.03°) |
| OKLab | oklab(91.02% -0.0288 0.1291) |
| OKLCH | oklch(91.02% 0.132 102.6) |
| XYZ | xyz(67.9690, 76.2500, 28.5866) |
| Luminance | 0.7625 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.54
Khaki (CSS)
#F0E68C
ΔE00 3.03
Dull Yellow
#EEDC5B
ΔE00 3.32
Yellowish
#FAEE66
ΔE00 3.47
Sandy
#F1DA7A
ΔE00 3.91
Sand Yellow
#FCE166
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E577 #7784F2
analogous
#F2A877 #F2E577 #C1F277
triadic
#F2E577 #77F2E5 #E577F2
tetradic
#F2E577 #77F2A8 #7784F2 #F277C1
square
#F2E577 #77F2A8 #7784F2 #F277C1
split-complementary
#F2E577 #77C1F2 #A877F2
monochromatic
#DAC515 #EDDA3F #F2E577 #F7F0AF #FCFAE3
Accessibility & contrast
On white
1.29
#F2E577 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.25
#F2E577 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E577
16.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E577 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E577 | 1.00 | 1.29 | 16.25 | 16.25 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DF6D
Deuteranopia (green-blind)
#FAE57C
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f2e577; /* rgb */ color: rgb(242, 229, 119); /* oklch */ color: oklch(91.0% 0.132 102.6);
Tailwind
colors: {
custom: {
50: '#f9eda1',
500: '#f2e577',
950: '#000000',
},
}SCSS
$custom: #f2e577; $custom-light: #f9eda1; $custom-dark: #000000;
JSON
{
"hex": "#f2e577",
"rgb": {
"r": 242,
"g": 229,
"b": 119
},
"hsl": {
"h": 53.659,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.91024,
"c": 0.13226,
"h": 102.6
},
"luminance": 0.76248
}Semantic roles & 50–950 ramp
primary
#F2E577
secondary
#4150CC
accent
#1DDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480