#F2E276#F2E276
#F2E276 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.4% C 0.130 H 101.0°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E276 |
|---|---|
| RGB | rgb(242, 226, 118) |
| HSL | hsl(52, 83%, 71%) |
| HSV | hsv(52, 51%, 95%) |
| CMYK | cmyk(0%, 6.6%, 51.2%, 5.1%) |
| CIE-LAB | lab(89.20, -8.25, 54.19) |
| CIE-LCH | lch(89.20, 54.82, 98.66°) |
| OKLab | oklab(90.4% -0.0249 0.128) |
| OKLCH | oklch(90.4% 0.13 101) |
| XYZ | xyz(67.0864, 74.5803, 27.9977) |
| Luminance | 0.7458 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.97
Sandy
#F1DA7A
ΔE00 2.97
Sandy Yellow
#FDEE73
ΔE00 3.06
Khaki (CSS)
#F0E68C
ΔE00 3.21
Yellow Tan
#FFE36E
ΔE00 3.37
Sand Yellow
#FCE166
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E276 #7686F2
analogous
#F2A476 #F2E276 #C4F276
triadic
#F2E276 #76F2E2 #E276F2
tetradic
#F2E276 #76F2A4 #7686F2 #F276C4
square
#F2E276 #76F2A4 #7686F2 #F276C4
split-complementary
#F2E276 #76C4F2 #A476F2
monochromatic
#D9C015 #EDD63E #F2E276 #F7EEAE #FCF9E3
Accessibility & contrast
On white
1.32
#F2E276 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.92
#F2E276 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E276
15.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E276 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E276 | 1.00 | 1.32 | 15.92 | 15.92 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DC6C
Deuteranopia (green-blind)
#F8E37B
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f2e276; /* rgb */ color: rgb(242, 226, 118); /* oklch */ color: oklch(90.4% 0.130 101.0);
Tailwind
colors: {
custom: {
50: '#f9eaa0',
500: '#f2e276',
950: '#000000',
},
}SCSS
$custom: #f2e276; $custom-light: #f9eaa0; $custom-dark: #000000;
JSON
{
"hex": "#f2e276",
"rgb": {
"r": 242,
"g": 226,
"b": 118
},
"hsl": {
"h": 52.258,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.90402,
"c": 0.13038,
"h": 101
},
"luminance": 0.74578
}Semantic roles & 50–950 ramp
primary
#F2E276
secondary
#4052CC
accent
#22DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480