#FFE897#FFE897
#FFE897 is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 93.2% C 0.104 H 94.1°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE897 |
|---|---|
| RGB | rgb(255, 232, 151) |
| HSL | hsl(47, 100%, 80%) |
| HSV | hsv(47, 41%, 100%) |
| CMYK | cmyk(0%, 9%, 40.8%, 0%) |
| CIE-LAB | lab(92.23, -3.05, 42.22) |
| CIE-LCH | lch(92.23, 42.33, 94.13°) |
| OKLab | oklab(93.2% -0.0074 0.1033) |
| OKLCH | oklch(93.2% 0.104 94.1) |
| XYZ | xyz(75.6843, 81.2103, 40.9606) |
| Luminance | 0.8121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 3.59
Dark Cream
#FFF39A
ΔE00 3.89
Light Tan
#FBEEAC
ΔE00 3.92
Sandy
#F1DA7A
ΔE00 4.08
Khaki (CSS)
#F0E68C
ΔE00 4.16
Vanilla
#F3E5AB
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE897 #97AEFF
analogous
#FFB497 #FFE897 #E2FF97
triadic
#FFE897 #97FFE8 #E897FF
tetradic
#FFE897 #97FFB4 #97AEFF #FF97E2
square
#FFE897 #97FFB4 #97AEFF #FF97E2
split-complementary
#FFE897 #97E2FF #B497FF
monochromatic
#FFCD1D #FFDA5A #FFE897 #FFF6D4 #FFF8E0
Accessibility & contrast
On white
1.22
#FFE897 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.24
#FFE897 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE897
17.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE897 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE897 | 1.00 | 1.22 | 17.24 | 17.24 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8E591
Deuteranopia (green-blind)
#FEEC9A
Tritanopia (blue-blind)
#FFDCD4
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ffe897; /* rgb */ color: rgb(255, 232, 151); /* oklch */ color: oklch(93.2% 0.104 94.1);
Tailwind
colors: {
custom: {
50: '#ffefb6',
500: '#ffe897',
950: '#000000',
},
}SCSS
$custom: #ffe897; $custom-light: #ffefb6; $custom-dark: #000000;
JSON
{
"hex": "#ffe897",
"rgb": {
"r": 255,
"g": 232,
"b": 151
},
"hsl": {
"h": 46.731,
"s": 100,
"l": 79.608
},
"oklch": {
"l": 0.93197,
"c": 0.10354,
"h": 94.1
},
"luminance": 0.81208
}Semantic roles & 50–950 ramp
primary
#FFE897
secondary
#5977E2
accent
#33E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581