#FFD97E#FFD97E
#FFD97E is a very light, moderate orange. Relative luminance 0.724; OKLCH L 89.9% C 0.118 H 87.3°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).
Color values
| HEX | #FFD97E |
|---|---|
| RGB | rgb(255, 217, 126) |
| HSL | hsl(42, 100%, 75%) |
| HSV | hsv(42, 51%, 100%) |
| CMYK | cmyk(0%, 14.9%, 50.6%, 0%) |
| CIE-LAB | lab(88.16, 2.19, 49.40) |
| CIE-LCH | lch(88.16, 49.45, 87.46°) |
| OKLab | oklab(89.88% 0.0055 0.1179) |
| OKLCH | oklch(89.88% 0.118 87.3) |
| XYZ | xyz(69.8214, 72.3955, 30.0306) |
| Luminance | 0.7239 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.54
Pale Gold
#FDDE6C
ΔE00 4.23
Light Mustard
#F7D560
ΔE00 4.25
Sandy
#F1DA7A
ΔE00 4.46
Maize
#F4D054
ΔE00 5.19
Yellow Tan
#FFE36E
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFD97E #7EA4FF
analogous
#FF997E #FFD97E #E4FF7E
triadic
#FFD97E #7EFFD9 #D97EFF
tetradic
#FFD97E #7EFF99 #7EA4FF #FF7EE4
square
#FFD97E #7EFF99 #7EA4FF #FF7EE4
split-complementary
#FFD97E #7EE4FF #997EFF
monochromatic
#FFB504 #FFC741 #FFD97E #FFEBBB #FFF6E0
Accessibility & contrast
On white
1.36
#FFD97E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.48
#FFD97E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFD97E
15.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFD97E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFD97E | 1.00 | 1.36 | 15.48 | 15.48 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD776
Deuteranopia (green-blind)
#F5E181
Tritanopia (blue-blind)
#FFCBC3
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #ffd97e; /* rgb */ color: rgb(255, 217, 126); /* oklch */ color: oklch(89.9% 0.118 87.3);
Tailwind
colors: {
custom: {
50: '#ffe4a5',
500: '#ffd97e',
950: '#000000',
},
}SCSS
$custom: #ffd97e; $custom-light: #ffe4a5; $custom-dark: #000000;
JSON
{
"hex": "#ffd97e",
"rgb": {
"r": 255,
"g": 217,
"b": 126
},
"hsl": {
"h": 42.326,
"s": 100,
"l": 74.706
},
"oklch": {
"l": 0.8988,
"c": 0.11804,
"h": 87.3
},
"luminance": 0.72392
}Semantic roles & 50–950 ramp
primary
#FFD97E
secondary
#4371DE
accent
#44E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480