#FFDF62#FFDF62
#FFDF62 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.7% C 0.146 H 94.9°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).
Color values
| HEX | #FFDF62 |
|---|---|
| RGB | rgb(255, 223, 98) |
| HSL | hsl(48, 100%, 69%) |
| HSV | hsv(48, 62%, 100%) |
| CMYK | cmyk(0%, 12.5%, 61.6%, 0%) |
| CIE-LAB | lab(89.36, -2.94, 63.69) |
| CIE-LCH | lch(89.36, 63.76, 92.64°) |
| OKLab | oklab(90.73% -0.0126 0.146) |
| OKLCH | oklch(90.73% 0.147 94.9) |
| XYZ | xyz(69.8354, 74.9207, 22.3356) |
| Luminance | 0.7492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 0.76
Pale Gold
#FDDE6C
ΔE00 1.31
Sand Yellow
#FCE166
ΔE00 1.34
Yellow Tan
#FFE36E
ΔE00 1.55
Light Mustard
#F7D560
ΔE00 2.42
Maize
#F4D054
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFDF62 #6282FF
analogous
#FF9162 #FFDF62 #D0FF62
triadic
#FFDF62 #62FFDF #DF62FF
tetradic
#FFDF62 #62FF91 #6282FF #FF62D0
square
#FFDF62 #62FF91 #6282FF #FF62D0
split-complementary
#FFDF62 #62D0FF #9162FF
monochromatic
#E7B800 #FFD325 #FFDF62 #FFEB9F #FFF8DC
Accessibility & contrast
On white
1.31
#FFDF62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.98
#FFDF62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFDF62
15.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFDF62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFDF62 | 1.00 | 1.31 | 15.98 | 15.98 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#FCE568
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #ffdf62; /* rgb */ color: rgb(255, 223, 98); /* oklch */ color: oklch(90.7% 0.146 94.9);
Tailwind
colors: {
custom: {
50: '#ffe893',
500: '#ffdf62',
950: '#000000',
},
}SCSS
$custom: #ffdf62; $custom-light: #ffe893; $custom-dark: #000000;
JSON
{
"hex": "#ffdf62",
"rgb": {
"r": 255,
"g": 223,
"b": 98
},
"hsl": {
"h": 47.771,
"s": 100,
"l": 69.216
},
"oklch": {
"l": 0.9073,
"c": 0.1465,
"h": 94.9
},
"luminance": 0.74917
}Semantic roles & 50–950 ramp
primary
#FFDF62
secondary
#2C4FDA
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F