#DFD662#DFD662
#DFD662 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.1% C 0.138 H 104.8°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #DFD662 |
|---|---|
| RGB | rgb(223, 214, 98) |
| HSL | hsl(56, 66%, 63%) |
| HSV | hsv(56, 56%, 87%) |
| CMYK | cmyk(0%, 4%, 56.1%, 12.5%) |
| CIE-LAB | lab(84.31, -11.51, 57.31) |
| CIE-LCH | lch(84.31, 58.45, 101.35°) |
| OKLab | oklab(86.08% -0.0352 0.133) |
| OKLCH | oklch(86.08% 0.138 104.8) |
| XYZ | xyz(56.6844, 64.6648, 21.0486) |
| Luminance | 0.6466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.26
Sandy
#F1DA7A
ΔE00 4.95
Khaki (CSS)
#F0E68C
ΔE00 5.39
Sand Yellow
#FCE166
ΔE00 5.70
Piss Yellow
#DDD618
ΔE00 5.76
Sandy Yellow
#FDEE73
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFD662 #626BDF
analogous
#DF9762 #DFD662 #A9DF62
triadic
#DFD662 #62DFD6 #D662DF
tetradic
#DFD662 #62DF97 #626BDF #DF62A9
square
#DFD662 #62DF97 #626BDF #DF62A9
split-complementary
#DFD662 #62A9DF #9762DF
monochromatic
#A59C22 #D5C92F #DFD662 #E9E395 #F4F1C8
Accessibility & contrast
On white
1.51
#DFD662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.93
#DFD662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFD662
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFD662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFD662 | 1.00 | 1.51 | 13.93 | 13.93 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EAD568
Tritanopia (blue-blind)
#EEC9BC
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #dfd662; /* rgb */ color: rgb(223, 214, 98); /* oklch */ color: oklch(86.1% 0.138 104.8);
Tailwind
colors: {
custom: {
50: '#ece292',
500: '#dfd662',
950: '#000000',
},
}SCSS
$custom: #dfd662; $custom-light: #ece292; $custom-dark: #000000;
JSON
{
"hex": "#dfd662",
"rgb": {
"r": 223,
"g": 214,
"b": 98
},
"hsl": {
"h": 55.68,
"s": 66.138,
"l": 62.941
},
"oklch": {
"l": 0.86077,
"c": 0.13761,
"h": 104.8
},
"luminance": 0.64663
}Semantic roles & 50–950 ramp
primary
#DFD662
secondary
#3E45A8
accent
#25CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F