#F2E976#F2E976
#F2E976 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.8% C 0.137 H 104.7°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E976 |
|---|---|
| RGB | rgb(242, 233, 118) |
| HSL | hsl(56, 83%, 71%) |
| HSV | hsv(56, 51%, 95%) |
| CMYK | cmyk(0%, 3.7%, 51.2%, 5.1%) |
| CIE-LAB | lab(90.99, -11.74, 56.32) |
| CIE-LCH | lch(90.99, 57.53, 101.77°) |
| OKLab | oklab(91.83% -0.0349 0.1326) |
| OKLCH | oklch(91.83% 0.137 104.7) |
| XYZ | xyz(69.0288, 78.4652, 28.6451) |
| Luminance | 0.7846 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.21
Yellowish
#FAEE66
ΔE00 2.78
Straw
#FCF679
ΔE00 2.88
Khaki (CSS)
#F0E68C
ΔE00 3.54
Manilla
#FFFA86
ΔE00 3.56
Dull Yellow
#EEDC5B
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E976 #767FF2
analogous
#F2AB76 #F2E976 #BDF276
triadic
#F2E976 #76F2E9 #E976F2
tetradic
#F2E976 #76F2AB #767FF2 #F276BD
square
#F2E976 #76F2AB #767FF2 #F276BD
split-complementary
#F2E976 #76BDF2 #AB76F2
monochromatic
#D9CB15 #EDE03E #F2E976 #F7F2AE #FCFBE3
Accessibility & contrast
On white
1.26
#F2E976 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.69
#F2E976 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E976
16.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E976 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E976 | 1.00 | 1.26 | 16.69 | 16.69 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE26B
Deuteranopia (green-blind)
#FDE87C
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f2e976; /* rgb */ color: rgb(242, 233, 118); /* oklch */ color: oklch(91.8% 0.137 104.7);
Tailwind
colors: {
custom: {
50: '#f9efa0',
500: '#f2e976',
950: '#000000',
},
}SCSS
$custom: #f2e976; $custom-light: #f9efa0; $custom-dark: #000000;
JSON
{
"hex": "#f2e976",
"rgb": {
"r": 242,
"g": 233,
"b": 118
},
"hsl": {
"h": 55.645,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.91828,
"c": 0.13712,
"h": 104.7
},
"luminance": 0.78463
}Semantic roles & 50–950 ramp
primary
#F2E976
secondary
#404ACC
accent
#16DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580