#F2E596#F2E596
#F2E596 is a very light, moderate yellow. Relative luminance 0.771; OKLCH L 91.5% C 0.100 H 100.0°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E596 |
|---|---|
| RGB | rgb(242, 229, 150) |
| HSL | hsl(52, 78%, 77%) |
| HSV | hsv(52, 38%, 95%) |
| CMYK | cmyk(0%, 5.4%, 38%, 5.1%) |
| CIE-LAB | lab(90.38, -6.68, 40.12) |
| CIE-LCH | lch(90.38, 40.67, 99.45°) |
| OKLab | oklab(91.47% -0.0174 0.0985) |
| OKLCH | oklch(91.47% 0.1 100) |
| XYZ | xyz(70.1435, 77.1198, 40.0389) |
| Luminance | 0.7712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.01
Light Tan
#FBEEAC
ΔE00 3.24
Dark Cream
#FFF39A
ΔE00 3.27
Palegoldenrod
#EEE8AA
ΔE00 3.82
Buff
#FEF69E
ΔE00 3.87
Vanilla
#F3E5AB
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E596 #96A3F2
analogous
#F2B796 #F2E596 #D1F296
triadic
#F2E596 #96F2E5 #E596F2
tetradic
#F2E596 #96F2B7 #96A3F2 #F296D1
square
#F2E596 #96F2B7 #96A3F2 #F296D1
split-complementary
#F2E596 #96D1F2 #B796F2
monochromatic
#E5CA29 #EBD860 #F2E596 #F9F2CC #FCF8E4
Accessibility & contrast
On white
1.28
#F2E596 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.42
#F2E596 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E596
16.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E596 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E596 | 1.00 | 1.28 | 16.42 | 16.42 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3E090
Deuteranopia (green-blind)
#F7E699
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e596; /* rgb */ color: rgb(242, 229, 150); /* oklch */ color: oklch(91.5% 0.100 100.0);
Tailwind
colors: {
custom: {
50: '#f7edb6',
500: '#f2e596',
950: '#000000',
},
}SCSS
$custom: #f2e596; $custom-light: #f7edb6; $custom-dark: #000000;
JSON
{
"hex": "#f2e596",
"rgb": {
"r": 242,
"g": 229,
"b": 150
},
"hsl": {
"h": 51.522,
"s": 77.966,
"l": 76.863
},
"oklch": {
"l": 0.91473,
"c": 0.10004,
"h": 100
},
"luminance": 0.77118
}Semantic roles & 50–950 ramp
primary
#F2E596
secondary
#5D6DCF
accent
#29DA0B
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481