#F2E578#F2E578
#F2E578 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.0% C 0.131 H 102.5°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E578 |
|---|---|
| RGB | rgb(242, 229, 120) |
| HSL | hsl(54, 82%, 71%) |
| HSV | hsv(54, 50%, 95%) |
| CMYK | cmyk(0%, 5.4%, 50.4%, 5.1%) |
| CIE-LAB | lab(89.99, -9.58, 54.20) |
| CIE-LCH | lch(89.99, 55.04, 100.03°) |
| OKLab | oklab(91.04% -0.0285 0.1282) |
| OKLCH | oklch(91.04% 0.131 102.5) |
| XYZ | xyz(68.0294, 76.2742, 28.9045) |
| Luminance | 0.7627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.62
Khaki (CSS)
#F0E68C
ΔE00 2.91
Dull Yellow
#EEDC5B
ΔE00 3.42
Yellowish
#FAEE66
ΔE00 3.58
Sandy
#F1DA7A
ΔE00 3.85
Yellow Tan
#FFE36E
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E578 #7885F2
analogous
#F2A878 #F2E578 #C2F278
triadic
#F2E578 #78F2E5 #E578F2
tetradic
#F2E578 #78F2A8 #7885F2 #F278C2
square
#F2E578 #78F2A8 #7885F2 #F278C2
split-complementary
#F2E578 #78C2F2 #A878F2
monochromatic
#DBC615 #EDDA40 #F2E578 #F7F0B0 #FCFAE3
Accessibility & contrast
On white
1.29
#F2E578 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.25
#F2E578 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E578
16.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E578 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E578 | 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)
#F6DF6E
Deuteranopia (green-blind)
#FAE57D
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f2e578; /* rgb */ color: rgb(242, 229, 120); /* oklch */ color: oklch(91.0% 0.131 102.5);
Tailwind
colors: {
custom: {
50: '#f8eda1',
500: '#f2e578',
950: '#000000',
},
}SCSS
$custom: #f2e578; $custom-light: #f8eda1; $custom-dark: #000000;
JSON
{
"hex": "#f2e578",
"rgb": {
"r": 242,
"g": 229,
"b": 120
},
"hsl": {
"h": 53.607,
"s": 82.432,
"l": 70.98
},
"oklch": {
"l": 0.91037,
"c": 0.13131,
"h": 102.5
},
"luminance": 0.76272
}Semantic roles & 50–950 ramp
primary
#F2E578
secondary
#4251CC
accent
#1EDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480