#FFD397#FFD397
#FFD397 is a very light, moderate orange. Relative luminance 0.701; OKLCH L 89.1% C 0.091 H 74.8°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #FFD397 |
|---|---|
| RGB | rgb(255, 211, 151) |
| HSL | hsl(35, 100%, 80%) |
| HSV | hsv(35, 41%, 100%) |
| CMYK | cmyk(0%, 17.3%, 40.8%, 0%) |
| CIE-LAB | lab(87.04, 7.66, 35.49) |
| CIE-LCH | lch(87.04, 36.31, 77.82°) |
| OKLab | oklab(89.12% 0.0238 0.0877) |
| OKLCH | oklch(89.12% 0.091 74.8) |
| XYZ | xyz(70.1223, 70.0863, 39.1066) |
| Luminance | 0.7008 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Navajowhite
#FFDEAD
ΔE00 3.95
Light Peach
#FFD8B1
ΔE00 5.32
Moccasin
#FFE4B5
ΔE00 5.90
Pale Peach
#FFE5AD
ΔE00 6.13
Wheat
#F5DEB3
ΔE00 6.57
Peach
#FFDAB9
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFD397 #97C3FF
analogous
#FF9F97 #FFD397 #F7FF97
triadic
#FFD397 #97FFD3 #D397FF
tetradic
#FFD397 #97FF9F #97C3FF #FF97F7
square
#FFD397 #97FF9F #97C3FF #FF97F7
split-complementary
#FFD397 #97F7FF #9F97FF
monochromatic
#FF9F1D #FFB95A #FFD397 #FFEDD4 #FFF2E0
Accessibility & contrast
On white
1.40
#FFD397 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.02
#FFD397 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFD397
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFD397 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFD397 | 1.00 | 1.40 | 15.02 | 15.02 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4D493
Deuteranopia (green-blind)
#EEDE98
Tritanopia (blue-blind)
#FFC7C4
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #ffd397; /* rgb */ color: rgb(255, 211, 151); /* oklch */ color: oklch(89.1% 0.091 74.8);
Tailwind
colors: {
custom: {
50: '#ffe0b6',
500: '#ffd397',
950: '#000000',
},
}SCSS
$custom: #ffd397; $custom-light: #ffe0b6; $custom-dark: #000000;
JSON
{
"hex": "#ffd397",
"rgb": {
"r": 255,
"g": 211,
"b": 151
},
"hsl": {
"h": 34.615,
"s": 100,
"l": 79.608
},
"oklch": {
"l": 0.89116,
"c": 0.09091,
"h": 74.8
},
"luminance": 0.70083
}Semantic roles & 50–950 ramp
primary
#FFD397
secondary
#5993E2
accent
#61E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481