#F2E574#F2E574
#F2E574 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.0% C 0.135 H 102.8°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E574 |
|---|---|
| RGB | rgb(242, 229, 116) |
| HSL | hsl(54, 83%, 70%) |
| HSV | hsv(54, 52%, 95%) |
| CMYK | cmyk(0%, 5.4%, 52.1%, 5.1%) |
| CIE-LAB | lab(89.94, -9.91, 56.00) |
| CIE-LCH | lch(89.94, 56.88, 100.04°) |
| OKLab | oklab(90.99% -0.0298 0.1318) |
| OKLCH | oklch(90.99% 0.135 102.8) |
| XYZ | xyz(67.7917, 76.1791, 27.6527) |
| Luminance | 0.7618 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.33
Dull Yellow
#EEDC5B
ΔE00 3.05
Yellowish
#FAEE66
ΔE00 3.15
Khaki (CSS)
#F0E68C
ΔE00 3.41
Sand Yellow
#FCE166
ΔE00 3.87
Straw
#FCF679
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E574 #7481F2
analogous
#F2A674 #F2E574 #C0F274
triadic
#F2E574 #74F2E5 #E574F2
tetradic
#F2E574 #74F2A6 #7481F2 #F274C0
square
#F2E574 #74F2A6 #7481F2 #F274C0
split-complementary
#F2E574 #74C0F2 #A674F2
monochromatic
#D7C314 #EDDB3C #F2E574 #F7EFAC #FCFAE3
Accessibility & contrast
On white
1.29
#F2E574 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.24
#F2E574 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E574
16.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E574 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E574 | 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)
#F6DF69
Deuteranopia (green-blind)
#FBE579
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f2e574; /* rgb */ color: rgb(242, 229, 116); /* oklch */ color: oklch(91.0% 0.135 102.8);
Tailwind
colors: {
custom: {
50: '#f9ed9f',
500: '#f2e574',
950: '#000000',
},
}SCSS
$custom: #f2e574; $custom-light: #f9ed9f; $custom-dark: #000000;
JSON
{
"hex": "#f2e574",
"rgb": {
"r": 242,
"g": 229,
"b": 116
},
"hsl": {
"h": 53.81,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.90987,
"c": 0.13509,
"h": 102.8
},
"luminance": 0.76177
}Semantic roles & 50–950 ramp
primary
#F2E574
secondary
#3E4DCC
accent
#1DDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480