#FFD97C#FFD97C
#FFD97C is a very light, moderate orange. Relative luminance 0.723; OKLCH L 89.9% C 0.120 H 87.7°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).
Color values
| HEX | #FFD97C |
|---|---|
| RGB | rgb(255, 217, 124) |
| HSL | hsl(43, 100%, 74%) |
| HSV | hsv(43, 51%, 100%) |
| CMYK | cmyk(0%, 14.9%, 51.4%, 0%) |
| CIE-LAB | lab(88.13, 2.02, 50.34) |
| CIE-LCH | lch(88.13, 50.38, 87.70°) |
| OKLab | oklab(89.85% 0.0048 0.1198) |
| OKLCH | oklch(89.85% 0.12 87.7) |
| XYZ | xyz(69.6937, 72.3444, 29.3578) |
| Luminance | 0.7234 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.41
Pale Gold
#FDDE6C
ΔE00 3.95
Light Mustard
#F7D560
ΔE00 3.95
Sandy
#F1DA7A
ΔE00 4.35
Maize
#F4D054
ΔE00 4.90
Yellow Tan
#FFE36E
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFD97C #7CA2FF
analogous
#FF987C #FFD97C #E4FF7C
triadic
#FFD97C #7CFFD9 #D97CFF
tetradic
#FFD97C #7CFF98 #7CA2FF #FF7CE4
square
#FFD97C #7CFF98 #7CA2FF #FF7CE4
split-complementary
#FFD97C #7CE4FF #987CFF
monochromatic
#FFB502 #FFC73F #FFD97C #FFEBB9 #FFF6E0
Accessibility & contrast
On white
1.36
#FFD97C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.47
#FFD97C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFD97C
15.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFD97C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFD97C | 1.00 | 1.36 | 15.47 | 15.47 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD774
Deuteranopia (green-blind)
#F6E17F
Tritanopia (blue-blind)
#FFCBC3
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #ffd97c; /* rgb */ color: rgb(255, 217, 124); /* oklch */ color: oklch(89.9% 0.120 87.7);
Tailwind
colors: {
custom: {
50: '#ffe4a4',
500: '#ffd97c',
950: '#000000',
},
}SCSS
$custom: #ffd97c; $custom-light: #ffe4a4; $custom-dark: #000000;
JSON
{
"hex": "#ffd97c",
"rgb": {
"r": 255,
"g": 217,
"b": 124
},
"hsl": {
"h": 42.595,
"s": 100,
"l": 74.314
},
"oklch": {
"l": 0.89853,
"c": 0.11992,
"h": 87.7
},
"luminance": 0.72341
}Semantic roles & 50–950 ramp
primary
#FFD97C
secondary
#426FDE
accent
#43E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480