#F2EA8E#F2EA8E
#F2EA8E is a very light, moderate yellow. Relative luminance 0.797; OKLCH L 92.4% C 0.114 H 104.1°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EA8E |
|---|---|
| RGB | rgb(242, 234, 142) |
| HSL | hsl(55, 79%, 75%) |
| HSV | hsv(55, 41%, 95%) |
| CMYK | cmyk(0%, 3.3%, 41.3%, 5.1%) |
| CIE-LAB | lab(91.54, -10.02, 45.56) |
| CIE-LCH | lch(91.54, 46.65, 102.41°) |
| OKLab | oklab(92.36% -0.0277 0.1105) |
| OKLCH | oklch(92.36% 0.114 104.1) |
| XYZ | xyz(70.9246, 79.6777, 37.2292) |
| Luminance | 0.7968 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 0.98
Dark Cream
#FFF39A
ΔE00 2.40
Buff
#FEF69E
ΔE00 2.67
Manilla
#FFFA86
ΔE00 4.48
Sandy Yellow
#FDEE73
ΔE00 4.70
Parchment
#FEFCAF
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EA8E #8E96F2
analogous
#F2B88E #F2EA8E #C8F28E
triadic
#F2EA8E #8EF2EA #EA8EF2
tetradic
#F2EA8E #8EF2B8 #8E96F2 #F28EC8
square
#F2EA8E #8EF2B8 #8E96F2 #F28EC8
split-complementary
#F2EA8E #8EC8F2 #B88EF2
monochromatic
#E5D620 #ECE057 #F2EA8E #F8F4C5 #FCFAE4
Accessibility & contrast
On white
1.24
#F2EA8E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.94
#F2EA8E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EA8E
16.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EA8E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EA8E | 1.00 | 1.24 | 16.94 | 16.94 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E487
Deuteranopia (green-blind)
#FCE992
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #f2ea8e; /* rgb */ color: rgb(242, 234, 142); /* oklch */ color: oklch(92.4% 0.114 104.1);
Tailwind
colors: {
custom: {
50: '#f8f0b0',
500: '#f2ea8e',
950: '#000000',
},
}SCSS
$custom: #f2ea8e; $custom-light: #f8f0b0; $custom-dark: #000000;
JSON
{
"hex": "#f2ea8e",
"rgb": {
"r": 242,
"g": 234,
"b": 142
},
"hsl": {
"h": 55.2,
"s": 79.365,
"l": 75.294
},
"oklch": {
"l": 0.92358,
"c": 0.11395,
"h": 104.1
},
"luminance": 0.79676
}Semantic roles & 50–950 ramp
primary
#F2EA8E
secondary
#565FCF
accent
#1BDC0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171611
muted
#858581