#F2E072#F2E072
#F2E072 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.9% C 0.132 H 100.2°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E072 |
|---|---|
| RGB | rgb(242, 224, 114) |
| HSL | hsl(52, 83%, 70%) |
| HSV | hsv(52, 53%, 95%) |
| CMYK | cmyk(0%, 7.4%, 52.9%, 5.1%) |
| CIE-LAB | lab(88.64, -7.58, 55.40) |
| CIE-LCH | lch(88.64, 55.92, 97.79°) |
| OKLab | oklab(89.95% -0.0233 0.1303) |
| OKLCH | oklch(89.95% 0.132 100.2) |
| XYZ | xyz(66.3130, 73.4059, 26.5920) |
| Luminance | 0.7340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.50
Sandy
#F1DA7A
ΔE00 2.65
Sand Yellow
#FCE166
ΔE00 2.82
Yellow Tan
#FFE36E
ΔE00 2.90
Sandy Yellow
#FDEE73
ΔE00 3.32
Pale Gold
#FDDE6C
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E072 #7284F2
analogous
#F2A072 #F2E072 #C4F272
triadic
#F2E072 #72F2E0 #E072F2
tetradic
#F2E072 #72F2A0 #7284F2 #F272C4
square
#F2E072 #72F2A0 #7284F2 #F272C4
split-complementary
#F2E072 #72C4F2 #A072F2
monochromatic
#D6BB14 #EDD43A #F2E072 #F7ECAA #FCF9E2
Accessibility & contrast
On white
1.34
#F2E072 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.68
#F2E072 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E072
15.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E072 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E072 | 1.00 | 1.34 | 15.68 | 15.68 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA68
Deuteranopia (green-blind)
#F7E277
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2e072; /* rgb */ color: rgb(242, 224, 114); /* oklch */ color: oklch(89.9% 0.132 100.2);
Tailwind
colors: {
custom: {
50: '#f9e99d',
500: '#f2e072',
950: '#000000',
},
}SCSS
$custom: #f2e072; $custom-light: #f9e99d; $custom-dark: #000000;
JSON
{
"hex": "#f2e072",
"rgb": {
"r": 242,
"g": 224,
"b": 114
},
"hsl": {
"h": 51.563,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.89948,
"c": 0.13233,
"h": 100.2
},
"luminance": 0.73403
}Semantic roles & 50–950 ramp
primary
#F2E072
secondary
#3D51CC
accent
#25E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F