#FFDF5E#FFDF5E
#FFDF5E is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.7% C 0.150 H 95.3°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).
Color values
| HEX | #FFDF5E |
|---|---|
| RGB | rgb(255, 223, 94) |
| HSL | hsl(48, 100%, 68%) |
| HSV | hsv(48, 63%, 100%) |
| CMYK | cmyk(0%, 12.5%, 63.1%, 0%) |
| CIE-LAB | lab(89.32, -3.19, 65.37) |
| CIE-LCH | lch(89.32, 65.45, 92.79°) |
| OKLab | oklab(90.69% -0.0138 0.149) |
| OKLCH | oklch(90.69% 0.15 95.3) |
| XYZ | xyz(69.6512, 74.8470, 21.3657) |
| Luminance | 0.7484 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 0.70
Sand Yellow
#FCE166
ΔE00 1.44
Pale Gold
#FDDE6C
ΔE00 1.75
Yellow Tan
#FFE36E
ΔE00 1.83
Light Mustard
#F7D560
ΔE00 2.62
Maize
#F4D054
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFDF5E #5E7EFF
analogous
#FF8E5E #FFDF5E #CEFF5E
triadic
#FFDF5E #5EFFDF #DF5EFF
tetradic
#FFDF5E #5EFF8E #5E7EFF #FF5ECE
square
#FFDF5E #5EFF8E #5E7EFF #FF5ECE
split-complementary
#FFDF5E #5ECEFF #8E5EFF
monochromatic
#E3B600 #FFD321 #FFDF5E #FFEB9B #FFF7D8
Accessibility & contrast
On white
1.32
#FFDF5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.97
#FFDF5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFDF5E
15.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFDF5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFDF5E | 1.00 | 1.32 | 15.97 | 15.97 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DB4F
Deuteranopia (green-blind)
#FCE564
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #ffdf5e; /* rgb */ color: rgb(255, 223, 94); /* oklch */ color: oklch(90.7% 0.150 95.3);
Tailwind
colors: {
custom: {
50: '#ffe891',
500: '#ffdf5e',
950: '#000000',
},
}SCSS
$custom: #ffdf5e; $custom-light: #ffe891; $custom-dark: #000000;
JSON
{
"hex": "#ffdf5e",
"rgb": {
"r": 255,
"g": 223,
"b": 94
},
"hsl": {
"h": 48.075,
"s": 100,
"l": 68.431
},
"oklch": {
"l": 0.90691,
"c": 0.14959,
"h": 95.3
},
"luminance": 0.74844
}Semantic roles & 50–950 ramp
primary
#FFDF5E
secondary
#284BD9
accent
#2EE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F