#FFD398#FFD398
#FFD398 is a very light, moderate orange. Relative luminance 0.701; OKLCH L 89.1% C 0.090 H 74.4°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #FFD398 |
|---|---|
| RGB | rgb(255, 211, 152) |
| HSL | hsl(34, 100%, 80%) |
| HSV | hsv(34, 40%, 100%) |
| CMYK | cmyk(0%, 17.3%, 40.4%, 0%) |
| CIE-LAB | lab(87.06, 7.77, 35.00) |
| CIE-LCH | lch(87.06, 35.85, 77.49°) |
| OKLab | oklab(89.13% 0.0242 0.0866) |
| OKLCH | oklch(89.13% 0.09 74.4) |
| XYZ | xyz(70.2039, 70.1189, 39.5361) |
| Luminance | 0.7012 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Navajowhite
#FFDEAD
ΔE00 3.86
Light Peach
#FFD8B1
ΔE00 5.09
Moccasin
#FFE4B5
ΔE00 5.85
Pale Peach
#FFE5AD
ΔE00 6.17
Wheat
#F5DEB3
ΔE00 6.51
Peach
#FFDAB9
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFD398 #98C4FF
analogous
#FFA098 #FFD398 #F7FF98
triadic
#FFD398 #98FFD3 #D398FF
tetradic
#FFD398 #98FFA0 #98C4FF #FF98F7
square
#FFD398 #98FFA0 #98C4FF #FF98F7
split-complementary
#FFD398 #98F7FF #A098FF
monochromatic
#FF9F1E #FFB95B #FFD398 #FFEDD5 #FFF2E0
Accessibility & contrast
On white
1.40
#FFD398 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.02
#FFD398 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFD398
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFD398 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFD398 | 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)
#E4D494
Deuteranopia (green-blind)
#EEDE99
Tritanopia (blue-blind)
#FFC7C4
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #ffd398; /* rgb */ color: rgb(255, 211, 152); /* oklch */ color: oklch(89.1% 0.090 74.4);
Tailwind
colors: {
custom: {
50: '#ffe0b7',
500: '#ffd398',
950: '#000000',
},
}SCSS
$custom: #ffd398; $custom-light: #ffe0b7; $custom-dark: #000000;
JSON
{
"hex": "#ffd398",
"rgb": {
"r": 255,
"g": 211,
"b": 152
},
"hsl": {
"h": 34.369,
"s": 100,
"l": 79.804
},
"oklch": {
"l": 0.89133,
"c": 0.08995,
"h": 74.4
},
"luminance": 0.70116
}Semantic roles & 50–950 ramp
primary
#FFD398
secondary
#5994E2
accent
#62E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481