#FFDF4E#FFDF4E
#FFDF4E is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.6% C 0.161 H 96.4°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).
Color values
| HEX | #FFDF4E |
|---|---|
| RGB | rgb(255, 223, 78) |
| HSL | hsl(49, 100%, 65%) |
| HSV | hsv(49, 69%, 100%) |
| CMYK | cmyk(0%, 12.5%, 69.4%, 0%) |
| CIE-LAB | lab(89.20, -4.06, 71.68) |
| CIE-LCH | lch(89.20, 71.79, 93.24°) |
| OKLab | oklab(90.56% -0.018 0.1598) |
| OKLCH | oklch(90.56% 0.161 96.4) |
| XYZ | xyz(69.0062, 74.5890, 17.9686) |
| Luminance | 0.7459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.83
Banana
#FFE135
ΔE00 2.16
Sand Yellow
#FCE166
ΔE00 2.52
Sun Yellow
#FFDF22
ΔE00 2.88
Yellow Tan
#FFE36E
ΔE00 3.18
Pale Gold
#FDDE6C
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFDF4E #4E6EFF
analogous
#FF874E #FFDF4E #C6FF4E
triadic
#FFDF4E #4EFFDF #DF4EFF
tetradic
#FFDF4E #4EFF87 #4E6EFF #FF4EC6
square
#FFDF4E #4EFF87 #4E6EFF #FF4EC6
split-complementary
#FFDF4E #4EC6FF #874EFF
monochromatic
#D3AD00 #FFD411 #FFDF4E #FFEA8B #FFF5C8
Accessibility & contrast
On white
1.32
#FFDF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.92
#FFDF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFDF4E
15.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFDF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFDF4E | 1.00 | 1.32 | 15.92 | 15.92 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DA39
Deuteranopia (green-blind)
#FDE556
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #ffdf4e; /* rgb */ color: rgb(255, 223, 78); /* oklch */ color: oklch(90.6% 0.161 96.4);
Tailwind
colors: {
custom: {
50: '#ffe887',
500: '#ffdf4e',
950: '#000000',
},
}SCSS
$custom: #ffdf4e; $custom-light: #ffe887; $custom-dark: #000000;
JSON
{
"hex": "#ffdf4e",
"rgb": {
"r": 255,
"g": 223,
"b": 78
},
"hsl": {
"h": 49.153,
"s": 100,
"l": 65.294
},
"oklch": {
"l": 0.90557,
"c": 0.16082,
"h": 96.4
},
"luminance": 0.74585
}Semantic roles & 50–950 ramp
primary
#FFDF4E
secondary
#2443CD
accent
#29E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F