#F2E8A0#F2E8A0
#F2E8A0 is a very light, moderate yellow. Relative luminance 0.791; OKLCH L 92.2% C 0.092 H 101.2°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E8A0 |
|---|---|
| RGB | rgb(242, 232, 160) |
| HSL | hsl(53, 76%, 79%) |
| HSV | hsv(53, 34%, 95%) |
| CMYK | cmyk(0%, 4.1%, 33.9%, 5.1%) |
| CIE-LAB | lab(91.29, -7.06, 36.30) |
| CIE-LCH | lch(91.29, 36.98, 101.00°) |
| OKLab | oklab(92.25% -0.0179 0.09) |
| OKLCH | oklch(92.25% 0.092 101.2) |
| XYZ | xyz(71.8206, 79.1303, 44.7412) |
| Luminance | 0.7913 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Tan
#FBEEAC
ΔE00 2.12
Palegoldenrod
#EEE8AA
ΔE00 2.27
Vanilla
#F3E5AB
ΔE00 3.15
Khaki (CSS)
#F0E68C
ΔE00 3.17
Dark Cream
#FFF39A
ΔE00 3.65
Buff
#FEF69E
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E8A0 #A0AAF2
analogous
#F2BFA0 #F2E8A0 #D3F2A0
triadic
#F2E8A0 #A0F2E8 #E8A0F2
tetradic
#F2E8A0 #A0F2BF #A0AAF2 #F2A0D3
square
#F2E8A0 #A0F2BF #A0AAF2 #F2A0D3
split-complementary
#F2E8A0 #A0D3F2 #BFA0F2
monochromatic
#E3CE34 #EBDB6A #F2E8A0 #F9F5D6 #FBF8E4
Accessibility & contrast
On white
1.25
#F2E8A0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.83
#F2E8A0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E8A0
16.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E8A0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E8A0 | 1.00 | 1.25 | 16.83 | 16.83 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5E39B
Deuteranopia (green-blind)
#F8E8A3
Tritanopia (blue-blind)
#FEDED6
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #f2e8a0; /* rgb */ color: rgb(242, 232, 160); /* oklch */ color: oklch(92.2% 0.092 101.2);
Tailwind
colors: {
custom: {
50: '#f7efbc',
500: '#f2e8a0',
950: '#000000',
},
}SCSS
$custom: #f2e8a0; $custom-light: #f7efbc; $custom-dark: #000000;
JSON
{
"hex": "#f2e8a0",
"rgb": {
"r": 242,
"g": 232,
"b": 160
},
"hsl": {
"h": 52.683,
"s": 75.926,
"l": 78.824
},
"oklch": {
"l": 0.92248,
"c": 0.09177,
"h": 101.2
},
"luminance": 0.79129
}Semantic roles & 50–950 ramp
primary
#F2E8A0
secondary
#6673D0
accent
#26D80D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582