#F2E575#F2E575
#F2E575 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.0% C 0.134 H 102.7°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E575 |
|---|---|
| RGB | rgb(242, 229, 117) |
| HSL | hsl(54, 83%, 70%) |
| HSV | hsv(54, 52%, 95%) |
| CMYK | cmyk(0%, 5.4%, 51.7%, 5.1%) |
| CIE-LAB | lab(89.95, -9.83, 55.55) |
| CIE-LCH | lch(89.95, 56.42, 100.04°) |
| OKLab | oklab(91% -0.0295 0.1309) |
| OKLCH | oklch(91% 0.134 102.7) |
| XYZ | xyz(67.8502, 76.2025, 27.9607) |
| Luminance | 0.7620 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.39
Dull Yellow
#EEDC5B
ΔE00 3.14
Yellowish
#FAEE66
ΔE00 3.26
Khaki (CSS)
#F0E68C
ΔE00 3.29
Sand Yellow
#FCE166
ΔE00 3.91
Straw
#FCF679
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E575 #7582F2
analogous
#F2A675 #F2E575 #C0F275
triadic
#F2E575 #75F2E5 #E575F2
tetradic
#F2E575 #75F2A6 #7582F2 #F275C0
square
#F2E575 #75F2A6 #7582F2 #F275C0
split-complementary
#F2E575 #75C0F2 #A675F2
monochromatic
#D8C414 #EDDA3D #F2E575 #F7F0AD #FCFAE3
Accessibility & contrast
On white
1.29
#F2E575 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.24
#F2E575 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E575
16.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E575 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E575 | 1.00 | 1.29 | 16.24 | 16.24 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DF6B
Deuteranopia (green-blind)
#FAE57A
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f2e575; /* rgb */ color: rgb(242, 229, 117); /* oklch */ color: oklch(91.0% 0.134 102.7);
Tailwind
colors: {
custom: {
50: '#f9ed9f',
500: '#f2e575',
950: '#000000',
},
}SCSS
$custom: #f2e575; $custom-light: #f9ed9f; $custom-dark: #000000;
JSON
{
"hex": "#f2e575",
"rgb": {
"r": 242,
"g": 229,
"b": 117
},
"hsl": {
"h": 53.76,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.90999,
"c": 0.13415,
"h": 102.7
},
"luminance": 0.762
}Semantic roles & 50–950 ramp
primary
#F2E575
secondary
#3F4ECC
accent
#1DDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480