#F2E08E#F2E08E
#F2E08E is a very light, moderate yellow. Relative luminance 0.741; OKLCH L 90.3% C 0.104 H 97.3°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E08E |
|---|---|
| RGB | rgb(242, 224, 142) |
| HSL | hsl(49, 79%, 75%) |
| HSV | hsv(49, 41%, 95%) |
| CMYK | cmyk(0%, 7.4%, 41.3%, 5.1%) |
| CIE-LAB | lab(88.99, -5.01, 42.33) |
| CIE-LCH | lch(88.99, 42.63, 96.75°) |
| OKLab | oklab(90.34% -0.0132 0.1032) |
| OKLCH | oklch(90.34% 0.104 97.3) |
| XYZ | xyz(68.1576, 74.1438, 36.3068) |
| Luminance | 0.7414 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.78
Sandy
#F1DA7A
ΔE00 2.85
Wheat (survey)
#FBDD7E
ΔE00 3.73
Dark Cream
#FFF39A
ΔE00 4.29
Light Tan
#FBEEAC
ΔE00 4.43
Vanilla
#F3E5AB
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E08E #8EA0F2
analogous
#F2AE8E #F2E08E #D2F28E
triadic
#F2E08E #8EF2E0 #E08EF2
tetradic
#F2E08E #8EF2AE #8EA0F2 #F28ED2
square
#F2E08E #8EF2AE #8EA0F2 #F28ED2
split-complementary
#F2E08E #8ED2F2 #AE8EF2
monochromatic
#E5C220 #ECD157 #F2E08E #F8EFC5 #FCF7E4
Accessibility & contrast
On white
1.33
#F2E08E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.83
#F2E08E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E08E
15.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E08E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E08E | 1.00 | 1.33 | 15.83 | 15.83 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFDC88
Deuteranopia (green-blind)
#F4E291
Tritanopia (blue-blind)
#FFD5CC
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f2e08e; /* rgb */ color: rgb(242, 224, 142); /* oklch */ color: oklch(90.3% 0.104 97.3);
Tailwind
colors: {
custom: {
50: '#f8e9b0',
500: '#f2e08e',
950: '#000000',
},
}SCSS
$custom: #f2e08e; $custom-light: #f8e9b0; $custom-dark: #000000;
JSON
{
"hex": "#f2e08e",
"rgb": {
"r": 242,
"g": 224,
"b": 142
},
"hsl": {
"h": 49.2,
"s": 79.365,
"l": 75.294
},
"oklch": {
"l": 0.90338,
"c": 0.10404,
"h": 97.3
},
"luminance": 0.74142
}Semantic roles & 50–950 ramp
primary
#F2E08E
secondary
#566BCF
accent
#30DC0A
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481