#FFE996#FFE996
#FFE996 is a very light, moderate yellow. Relative luminance 0.817; OKLCH L 93.4% C 0.105 H 95.0°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE996 |
|---|---|
| RGB | rgb(255, 233, 150) |
| HSL | hsl(47, 100%, 79%) |
| HSV | hsv(47, 41%, 100%) |
| CMYK | cmyk(0%, 8.6%, 41.2%, 0%) |
| CIE-LAB | lab(92.46, -3.66, 43.02) |
| CIE-LCH | lch(92.46, 43.17, 94.86°) |
| OKLab | oklab(93.38% -0.0093 0.105) |
| OKLCH | oklch(93.38% 0.105 95) |
| XYZ | xyz(75.8857, 81.7425, 40.6288) |
| Luminance | 0.8174 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 3.44
Wheat (survey)
#FBDD7E
ΔE00 3.67
Khaki (CSS)
#F0E68C
ΔE00 3.80
Light Tan
#FBEEAC
ΔE00 3.94
Sandy
#F1DA7A
ΔE00 4.01
Buff
#FEF69E
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE996 #96ACFF
analogous
#FFB596 #FFE996 #E0FF96
triadic
#FFE996 #96FFE9 #E996FF
tetradic
#FFE996 #96FFB5 #96ACFF #FF96E0
square
#FFE996 #96FFB5 #96ACFF #FF96E0
split-complementary
#FFE996 #96E0FF #B596FF
monochromatic
#FFCF1C #FFDC59 #FFE996 #FFF6D3 #FFF9E0
Accessibility & contrast
On white
1.21
#FFE996 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.35
#FFE996 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE996
17.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE996 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE996 | 1.00 | 1.21 | 17.35 | 17.35 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E590
Deuteranopia (green-blind)
#FFEC99
Tritanopia (blue-blind)
#FFDDD4
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ffe996; /* rgb */ color: rgb(255, 233, 150); /* oklch */ color: oklch(93.4% 0.105 95.0);
Tailwind
colors: {
custom: {
50: '#ffefb6',
500: '#ffe996',
950: '#000000',
},
}SCSS
$custom: #ffe996; $custom-light: #ffefb6; $custom-dark: #000000;
JSON
{
"hex": "#ffe996",
"rgb": {
"r": 255,
"g": 233,
"b": 150
},
"hsl": {
"h": 47.429,
"s": 100,
"l": 79.412
},
"oklch": {
"l": 0.93379,
"c": 0.10545,
"h": 95
},
"luminance": 0.8174
}Semantic roles & 50–950 ramp
primary
#FFE996
secondary
#5875E1
accent
#30E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581