#F2EA9C#F2EA9C
#F2EA9C is a very light, moderate yellow. Relative luminance 0.801; OKLCH L 92.6% C 0.098 H 103.1°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EA9C |
|---|---|
| RGB | rgb(242, 234, 156) |
| HSL | hsl(54, 77%, 78%) |
| HSV | hsv(54, 36%, 95%) |
| CMYK | cmyk(0%, 3.3%, 35.5%, 5.1%) |
| CIE-LAB | lab(91.74, -8.52, 38.89) |
| CIE-LCH | lch(91.74, 39.81, 102.35°) |
| OKLab | oklab(92.58% -0.0223 0.0959) |
| OKLCH | oklch(92.58% 0.098 103.1) |
| XYZ | xyz(72.0425, 80.1249, 43.1167) |
| Luminance | 0.8012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.31
Dark Cream
#FFF39A
ΔE00 2.85
Buff
#FEF69E
ΔE00 2.90
Light Tan
#FBEEAC
ΔE00 2.98
Palegoldenrod
#EEE8AA
ΔE00 3.11
Parchment
#FEFCAF
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EA9C #9CA4F2
analogous
#F2BF9C #F2EA9C #CFF29C
triadic
#F2EA9C #9CF2EA #EA9CF2
tetradic
#F2EA9C #9CF2BF #9CA4F2 #F29CCF
square
#F2EA9C #9CF2BF #9CA4F2 #F29CCF
split-complementary
#F2EA9C #9CCFF2 #BF9CF2
monochromatic
#E4D330 #EBDF66 #F2EA9C #F9F5D2 #FBF9E4
Accessibility & contrast
On white
1.23
#F2EA9C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.02
#F2EA9C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EA9C
17.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EA9C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EA9C | 1.00 | 1.23 | 17.02 | 17.02 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7E596
Deuteranopia (green-blind)
#FAE99F
Tritanopia (blue-blind)
#FEE0D6
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #f2ea9c; /* rgb */ color: rgb(242, 234, 156); /* oklch */ color: oklch(92.6% 0.098 103.1);
Tailwind
colors: {
custom: {
50: '#f7f0ba',
500: '#f2ea9c',
950: '#000000',
},
}SCSS
$custom: #f2ea9c; $custom-light: #f7f0ba; $custom-dark: #000000;
JSON
{
"hex": "#f2ea9c",
"rgb": {
"r": 242,
"g": 234,
"b": 156
},
"hsl": {
"h": 54.419,
"s": 76.786,
"l": 78.039
},
"oklch": {
"l": 0.92582,
"c": 0.09848,
"h": 103.1
},
"luminance": 0.80123
}Semantic roles & 50–950 ramp
primary
#F2EA9C
secondary
#626DD0
accent
#20D90C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581