#FFE997#FFE997
#FFE997 is a very light, moderate yellow. Relative luminance 0.818; OKLCH L 93.4% C 0.104 H 94.9°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE997 |
|---|---|
| RGB | rgb(255, 233, 151) |
| HSL | hsl(47, 100%, 80%) |
| HSV | hsv(47, 41%, 100%) |
| CMYK | cmyk(0%, 8.6%, 40.8%, 0%) |
| CIE-LAB | lab(92.48, -3.55, 42.54) |
| CIE-LCH | lch(92.48, 42.69, 94.77°) |
| OKLab | oklab(93.4% -0.0089 0.104) |
| OKLCH | oklch(93.4% 0.104 94.9) |
| XYZ | xyz(75.9666, 81.7748, 41.0547) |
| Luminance | 0.8177 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 3.50
Wheat (survey)
#FBDD7E
ΔE00 3.75
Light Tan
#FBEEAC
ΔE00 3.82
Khaki (CSS)
#F0E68C
ΔE00 3.87
Sandy
#F1DA7A
ΔE00 4.11
Buff
#FEF69E
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE997 #97ADFF
analogous
#FFB597 #FFE997 #E1FF97
triadic
#FFE997 #97FFE9 #E997FF
tetradic
#FFE997 #97FFB5 #97ADFF #FF97E1
square
#FFE997 #97FFB5 #97ADFF #FF97E1
split-complementary
#FFE997 #97E1FF #B597FF
monochromatic
#FFCF1D #FFDC5A #FFE997 #FFF6D4 #FFF9E0
Accessibility & contrast
On white
1.21
#FFE997 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.35
#FFE997 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE997
17.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE997 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE997 | 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)
#F9E591
Deuteranopia (green-blind)
#FFEC9A
Tritanopia (blue-blind)
#FFDDD5
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ffe997; /* rgb */ color: rgb(255, 233, 151); /* oklch */ color: oklch(93.4% 0.104 94.9);
Tailwind
colors: {
custom: {
50: '#ffefb6',
500: '#ffe997',
950: '#000000',
},
}SCSS
$custom: #ffe997; $custom-light: #ffefb6; $custom-dark: #000000;
JSON
{
"hex": "#ffe997",
"rgb": {
"r": 255,
"g": 233,
"b": 151
},
"hsl": {
"h": 47.308,
"s": 100,
"l": 79.608
},
"oklch": {
"l": 0.93395,
"c": 0.10438,
"h": 94.9
},
"luminance": 0.81772
}Semantic roles & 50–950 ramp
primary
#FFE997
secondary
#5976E2
accent
#31E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581