#F2E572#F2E572
#F2E572 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 91.0% C 0.137 H 102.9°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E572 |
|---|---|
| RGB | rgb(242, 229, 114) |
| HSL | hsl(54, 83%, 70%) |
| HSV | hsv(54, 53%, 95%) |
| CMYK | cmyk(0%, 5.4%, 52.9%, 5.1%) |
| CIE-LAB | lab(89.92, -10.08, 56.90) |
| CIE-LCH | lch(89.92, 57.78, 100.04°) |
| OKLab | oklab(90.96% -0.0305 0.1335) |
| OKLCH | oklch(90.96% 0.137 102.9) |
| XYZ | xyz(67.6766, 76.1331, 27.0466) |
| Luminance | 0.7613 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.23
Dull Yellow
#EEDC5B
ΔE00 2.88
Yellowish
#FAEE66
ΔE00 2.96
Khaki (CSS)
#F0E68C
ΔE00 3.66
Sand Yellow
#FCE166
ΔE00 3.79
Straw
#FCF679
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E572 #727FF2
analogous
#F2A572 #F2E572 #BFF272
triadic
#F2E572 #72F2E5 #E572F2
tetradic
#F2E572 #72F2A5 #727FF2 #F272BF
square
#F2E572 #72F2A5 #727FF2 #F272BF
split-complementary
#F2E572 #72BFF2 #A572F2
monochromatic
#D6C214 #EDDB3A #F2E572 #F7EFAA #FCFAE2
Accessibility & contrast
On white
1.29
#F2E572 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.23
#F2E572 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E572
16.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E572 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E572 | 1.00 | 1.29 | 16.23 | 16.23 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DF67
Deuteranopia (green-blind)
#FBE578
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f2e572; /* rgb */ color: rgb(242, 229, 114); /* oklch */ color: oklch(91.0% 0.137 102.9);
Tailwind
colors: {
custom: {
50: '#f9ed9d',
500: '#f2e572',
950: '#000000',
},
}SCSS
$custom: #f2e572; $custom-light: #f9ed9d; $custom-dark: #000000;
JSON
{
"hex": "#f2e572",
"rgb": {
"r": 242,
"g": 229,
"b": 114
},
"hsl": {
"h": 53.906,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.90964,
"c": 0.13694,
"h": 102.9
},
"luminance": 0.76131
}Semantic roles & 50–950 ramp
primary
#F2E572
secondary
#3D4BCC
accent
#1CE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480