#FFD97F#FFD97F
#FFD97F is a very light, moderate orange. Relative luminance 0.724; OKLCH L 89.9% C 0.117 H 87.1°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).
Color values
| HEX | #FFD97F |
|---|---|
| RGB | rgb(255, 217, 127) |
| HSL | hsl(42, 100%, 75%) |
| HSV | hsv(42, 50%, 100%) |
| CMYK | cmyk(0%, 14.9%, 50.2%, 0%) |
| CIE-LAB | lab(88.17, 2.28, 48.93) |
| CIE-LCH | lch(88.17, 48.98, 87.34°) |
| OKLab | oklab(89.89% 0.0058 0.117) |
| OKLCH | oklch(89.89% 0.117 87.1) |
| XYZ | xyz(69.8863, 72.4215, 30.3722) |
| Luminance | 0.7242 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.62
Pale Gold
#FDDE6C
ΔE00 4.37
Light Mustard
#F7D560
ΔE00 4.40
Sandy
#F1DA7A
ΔE00 4.53
Maize
#F4D054
ΔE00 5.34
Yellow Tan
#FFE36E
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFD97F #7FA5FF
analogous
#FF997F #FFD97F #E5FF7F
triadic
#FFD97F #7FFFD9 #D97FFF
tetradic
#FFD97F #7FFF99 #7FA5FF #FF7FE5
square
#FFD97F #7FFF99 #7FA5FF #FF7FE5
split-complementary
#FFD97F #7FE5FF #997FFF
monochromatic
#FFB505 #FFC742 #FFD97F #FFEBBC #FFF6E0
Accessibility & contrast
On white
1.36
#FFD97F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.48
#FFD97F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFD97F
15.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFD97F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFD97F | 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)
#ECD777
Deuteranopia (green-blind)
#F5E282
Tritanopia (blue-blind)
#FFCBC4
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #ffd97f; /* rgb */ color: rgb(255, 217, 127); /* oklch */ color: oklch(89.9% 0.117 87.1);
Tailwind
colors: {
custom: {
50: '#ffe4a6',
500: '#ffd97f',
950: '#000000',
},
}SCSS
$custom: #ffd97f; $custom-light: #ffe4a6; $custom-dark: #000000;
JSON
{
"hex": "#ffd97f",
"rgb": {
"r": 255,
"g": 217,
"b": 127
},
"hsl": {
"h": 42.188,
"s": 100,
"l": 74.902
},
"oklch": {
"l": 0.89894,
"c": 0.1171,
"h": 87.1
},
"luminance": 0.72418
}Semantic roles & 50–950 ramp
primary
#FFD97F
secondary
#4472DE
accent
#44E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480