#F2E972#F2E972
#F2E972 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.8% C 0.141 H 104.9°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E972 |
|---|---|
| RGB | rgb(242, 233, 114) |
| HSL | hsl(56, 83%, 70%) |
| HSV | hsv(56, 53%, 95%) |
| CMYK | cmyk(0%, 3.7%, 52.9%, 5.1%) |
| CIE-LAB | lab(90.95, -12.06, 58.10) |
| CIE-LCH | lch(90.95, 59.34, 101.73°) |
| OKLab | oklab(91.78% -0.0362 0.1361) |
| OKLCH | oklch(91.78% 0.141 104.9) |
| XYZ | xyz(68.7961, 78.3721, 27.4197) |
| Luminance | 0.7837 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.04
Yellowish
#FAEE66
ΔE00 2.36
Straw
#FCF679
ΔE00 2.76
Manilla
#FFFA86
ΔE00 3.64
Dull Yellow
#EEDC5B
ΔE00 3.74
Khaki (CSS)
#F0E68C
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E972 #727BF2
analogous
#F2A972 #F2E972 #BBF272
triadic
#F2E972 #72F2E9 #E972F2
tetradic
#F2E972 #72F2A9 #727BF2 #F272BB
square
#F2E972 #72F2A9 #727BF2 #F272BB
split-complementary
#F2E972 #72BBF2 #A972F2
monochromatic
#D6C814 #EDE03A #F2E972 #F7F2AA #FCFAE2
Accessibility & contrast
On white
1.26
#F2E972 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.67
#F2E972 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E972
16.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E972 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E972 | 1.00 | 1.26 | 16.67 | 16.67 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE267
Deuteranopia (green-blind)
#FEE878
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f2e972; /* rgb */ color: rgb(242, 233, 114); /* oklch */ color: oklch(91.8% 0.141 104.9);
Tailwind
colors: {
custom: {
50: '#f9ef9e',
500: '#f2e972',
950: '#000000',
},
}SCSS
$custom: #f2e972; $custom-light: #f9ef9e; $custom-dark: #000000;
JSON
{
"hex": "#f2e972",
"rgb": {
"r": 242,
"g": 233,
"b": 114
},
"hsl": {
"h": 55.781,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.91781,
"c": 0.14082,
"h": 104.9
},
"luminance": 0.7837
}Semantic roles & 50–950 ramp
primary
#F2E972
secondary
#3D47CC
accent
#15E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580