#FFE97A#FFE97A
#FFE97A is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 93.0% C 0.134 H 98.3°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE97A |
|---|---|
| RGB | rgb(255, 233, 122) |
| HSL | hsl(50, 100%, 74%) |
| HSV | hsv(50, 52%, 100%) |
| CMYK | cmyk(0%, 8.6%, 52.2%, 0%) |
| CIE-LAB | lab(92.11, -6.23, 56.05) |
| CIE-LCH | lch(92.11, 56.39, 96.34°) |
| OKLab | oklab(92.98% -0.0194 0.1322) |
| OKLCH | oklch(92.98% 0.134 98.3) |
| XYZ | xyz(73.8942, 80.9459, 30.1403) |
| Luminance | 0.8094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 2.06
Sandy Yellow
#FDEE73
ΔE00 2.47
Sand Yellow
#FCE166
ΔE00 2.54
Pale Gold
#FDDE6C
ΔE00 3.20
Sandy
#F1DA7A
ΔE00 3.76
Yellowish
#FAEE66
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE97A #7A90FF
analogous
#FFA77A #FFE97A #D3FF7A
triadic
#FFE97A #7AFFE9 #E97AFF
tetradic
#FFE97A #7AFFA7 #7A90FF #FF7AD3
square
#FFE97A #7AFFA7 #7A90FF #FF7AD3
split-complementary
#FFE97A #7AD3FF #A77AFF
monochromatic
#FFD400 #FFDF3D #FFE97A #FFF3B7 #FFFAE0
Accessibility & contrast
On white
1.22
#FFE97A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.19
#FFE97A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE97A
17.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE97A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE97A | 1.00 | 1.22 | 17.19 | 17.19 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE470
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #ffe97a; /* rgb */ color: rgb(255, 233, 122); /* oklch */ color: oklch(93.0% 0.134 98.3);
Tailwind
colors: {
custom: {
50: '#ffefa3',
500: '#ffe97a',
950: '#000000',
},
}SCSS
$custom: #ffe97a; $custom-light: #ffefa3; $custom-dark: #000000;
JSON
{
"hex": "#ffe97a",
"rgb": {
"r": 255,
"g": 233,
"b": 122
},
"hsl": {
"h": 50.075,
"s": 100,
"l": 73.922
},
"oklch": {
"l": 0.92984,
"c": 0.1336,
"h": 98.3
},
"luminance": 0.80943
}Semantic roles & 50–950 ramp
primary
#FFE97A
secondary
#405ADD
accent
#26E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580