#F2E975#F2E975
#F2E975 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.8% C 0.138 H 104.8°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E975 |
|---|---|
| RGB | rgb(242, 233, 117) |
| HSL | hsl(56, 83%, 70%) |
| HSV | hsv(56, 52%, 95%) |
| CMYK | cmyk(0%, 3.7%, 51.7%, 5.1%) |
| CIE-LAB | lab(90.98, -11.82, 56.76) |
| CIE-LCH | lch(90.98, 57.98, 101.76°) |
| OKLab | oklab(91.82% -0.0352 0.1335) |
| OKLCH | oklch(91.82% 0.138 104.8) |
| XYZ | xyz(68.9697, 78.4416, 28.3338) |
| Luminance | 0.7844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.16
Yellowish
#FAEE66
ΔE00 2.67
Straw
#FCF679
ΔE00 2.84
Manilla
#FFFA86
ΔE00 3.58
Khaki (CSS)
#F0E68C
ΔE00 3.66
Dull Yellow
#EEDC5B
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E975 #757EF2
analogous
#F2AA75 #F2E975 #BCF275
triadic
#F2E975 #75F2E9 #E975F2
tetradic
#F2E975 #75F2AA #757EF2 #F275BC
square
#F2E975 #75F2AA #757EF2 #F275BC
split-complementary
#F2E975 #75BCF2 #AA75F2
monochromatic
#D8CA14 #EDE03D #F2E975 #F7F2AD #FCFBE3
Accessibility & contrast
On white
1.26
#F2E975 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.69
#F2E975 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E975
16.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E975 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E975 | 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)
#FAE26A
Deuteranopia (green-blind)
#FEE87B
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f2e975; /* rgb */ color: rgb(242, 233, 117); /* oklch */ color: oklch(91.8% 0.138 104.8);
Tailwind
colors: {
custom: {
50: '#f9efa0',
500: '#f2e975',
950: '#000000',
},
}SCSS
$custom: #f2e975; $custom-light: #f9efa0; $custom-dark: #000000;
JSON
{
"hex": "#f2e975",
"rgb": {
"r": 242,
"g": 233,
"b": 117
},
"hsl": {
"h": 55.68,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.91816,
"c": 0.13805,
"h": 104.8
},
"luminance": 0.78439
}Semantic roles & 50–950 ramp
primary
#F2E975
secondary
#3F49CC
accent
#16DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580