#F2E375#F2E375
#F2E375 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.132 H 101.6°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E375 |
|---|---|
| RGB | rgb(242, 227, 117) |
| HSL | hsl(53, 83%, 70%) |
| HSV | hsv(53, 52%, 95%) |
| CMYK | cmyk(0%, 6.2%, 51.7%, 5.1%) |
| CIE-LAB | lab(89.44, -8.83, 54.95) |
| CIE-LCH | lch(89.44, 55.66, 99.13°) |
| OKLab | oklab(90.59% -0.0266 0.1296) |
| OKLCH | oklch(90.59% 0.132 101.6) |
| XYZ | xyz(67.3000, 75.1021, 27.7773) |
| Luminance | 0.7510 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.76
Dull Yellow
#EEDC5B
ΔE00 2.91
Khaki (CSS)
#F0E68C
ΔE00 3.28
Sandy
#F1DA7A
ΔE00 3.38
Sand Yellow
#FCE166
ΔE00 3.49
Yellow Tan
#FFE36E
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E375 #7584F2
analogous
#F2A475 #F2E375 #C2F275
triadic
#F2E375 #75F2E3 #E375F2
tetradic
#F2E375 #75F2A4 #7584F2 #F275C2
square
#F2E375 #75F2A4 #7584F2 #F275C2
split-complementary
#F2E375 #75C2F2 #A475F2
monochromatic
#D8C114 #EDD83D #F2E375 #F7EEAD #FCF9E3
Accessibility & contrast
On white
1.31
#F2E375 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.02
#F2E375 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E375
16.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E375 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E375 | 1.00 | 1.31 | 16.02 | 16.02 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DD6B
Deuteranopia (green-blind)
#F9E47A
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f2e375; /* rgb */ color: rgb(242, 227, 117); /* oklch */ color: oklch(90.6% 0.132 101.6);
Tailwind
colors: {
custom: {
50: '#f9eb9f',
500: '#f2e375',
950: '#000000',
},
}SCSS
$custom: #f2e375; $custom-light: #f9eb9f; $custom-dark: #000000;
JSON
{
"hex": "#f2e375",
"rgb": {
"r": 242,
"g": 227,
"b": 117
},
"hsl": {
"h": 52.8,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.90593,
"c": 0.13226,
"h": 101.6
},
"luminance": 0.751
}Semantic roles & 50–950 ramp
primary
#F2E375
secondary
#3F50CC
accent
#20DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480