#F2E576#F2E576
#F2E576 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.0% C 0.133 H 102.6°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E576 |
|---|---|
| RGB | rgb(242, 229, 118) |
| HSL | hsl(54, 83%, 71%) |
| HSV | hsv(54, 51%, 95%) |
| CMYK | cmyk(0%, 5.4%, 51.2%, 5.1%) |
| CIE-LAB | lab(89.96, -9.75, 55.10) |
| CIE-LCH | lch(89.96, 55.96, 100.03°) |
| OKLab | oklab(91.01% -0.0292 0.13) |
| OKLCH | oklch(91.01% 0.133 102.6) |
| XYZ | xyz(67.9093, 76.2261, 28.2720) |
| Luminance | 0.7622 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.46
Khaki (CSS)
#F0E68C
ΔE00 3.16
Dull Yellow
#EEDC5B
ΔE00 3.23
Yellowish
#FAEE66
ΔE00 3.36
Sand Yellow
#FCE166
ΔE00 3.95
Sandy
#F1DA7A
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E576 #7683F2
analogous
#F2A776 #F2E576 #C1F276
triadic
#F2E576 #76F2E5 #E576F2
tetradic
#F2E576 #76F2A7 #7683F2 #F276C1
square
#F2E576 #76F2A7 #7683F2 #F276C1
split-complementary
#F2E576 #76C1F2 #A776F2
monochromatic
#D9C415 #EDDA3E #F2E576 #F7F0AE #FCFAE3
Accessibility & contrast
On white
1.29
#F2E576 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.24
#F2E576 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E576
16.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E576 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E576 | 1.00 | 1.29 | 16.24 | 16.24 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DF6C
Deuteranopia (green-blind)
#FAE57B
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f2e576; /* rgb */ color: rgb(242, 229, 118); /* oklch */ color: oklch(91.0% 0.133 102.6);
Tailwind
colors: {
custom: {
50: '#f9eda0',
500: '#f2e576',
950: '#000000',
},
}SCSS
$custom: #f2e576; $custom-light: #f9eda0; $custom-dark: #000000;
JSON
{
"hex": "#f2e576",
"rgb": {
"r": 242,
"g": 229,
"b": 118
},
"hsl": {
"h": 53.71,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.91012,
"c": 0.1332,
"h": 102.6
},
"luminance": 0.76224
}Semantic roles & 50–950 ramp
primary
#F2E576
secondary
#404FCC
accent
#1DDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480