#F2E376#F2E376
#F2E376 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.131 H 101.6°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E376 |
|---|---|
| RGB | rgb(242, 227, 118) |
| HSL | hsl(53, 83%, 71%) |
| HSV | hsv(53, 51%, 95%) |
| CMYK | cmyk(0%, 6.2%, 51.2%, 5.1%) |
| CIE-LAB | lab(89.45, -8.75, 54.50) |
| CIE-LCH | lch(89.45, 55.19, 99.12°) |
| OKLab | oklab(90.61% -0.0263 0.1286) |
| OKLCH | oklch(90.61% 0.131 101.6) |
| XYZ | xyz(67.3591, 75.1258, 28.0886) |
| Luminance | 0.7512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.83
Dull Yellow
#EEDC5B
ΔE00 3.02
Khaki (CSS)
#F0E68C
ΔE00 3.16
Sandy
#F1DA7A
ΔE00 3.31
Sand Yellow
#FCE166
ΔE00 3.55
Yellow Tan
#FFE36E
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E376 #7685F2
analogous
#F2A576 #F2E376 #C3F276
triadic
#F2E376 #76F2E3 #E376F2
tetradic
#F2E376 #76F2A5 #7685F2 #F276C3
square
#F2E376 #76F2A5 #7685F2 #F276C3
split-complementary
#F2E376 #76C3F2 #A576F2
monochromatic
#D9C115 #EDD83E #F2E376 #F7EEAE #FCF9E3
Accessibility & contrast
On white
1.31
#F2E376 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.02
#F2E376 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E376
16.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E376 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E376 | 1.00 | 1.31 | 16.02 | 16.02 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DD6C
Deuteranopia (green-blind)
#F9E47B
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f2e376; /* rgb */ color: rgb(242, 227, 118); /* oklch */ color: oklch(90.6% 0.131 101.6);
Tailwind
colors: {
custom: {
50: '#f9eba0',
500: '#f2e376',
950: '#000000',
},
}SCSS
$custom: #f2e376; $custom-light: #f9eba0; $custom-dark: #000000;
JSON
{
"hex": "#f2e376",
"rgb": {
"r": 242,
"g": 227,
"b": 118
},
"hsl": {
"h": 52.742,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.90605,
"c": 0.13131,
"h": 101.6
},
"luminance": 0.75123
}Semantic roles & 50–950 ramp
primary
#F2E376
secondary
#4051CC
accent
#21DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480