#DCD966#DCD966
#DCD966 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.137 H 107.6°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD966 |
|---|---|
| RGB | rgb(220, 217, 102) |
| HSL | hsl(58, 63%, 63%) |
| HSV | hsv(58, 54%, 86%) |
| CMYK | cmyk(0%, 1.4%, 53.6%, 13.7%) |
| CIE-LAB | lab(84.90, -13.92, 56.10) |
| CIE-LCH | lch(84.90, 57.80, 103.93°) |
| OKLab | oklab(86.5% -0.0415 0.1309) |
| OKLCH | oklch(86.5% 0.137 107.6) |
| XYZ | xyz(56.7279, 65.8022, 22.2806) |
| Luminance | 0.6580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.45
Khaki (CSS)
#F0E68C
ΔE00 5.21
Greenish Beige
#C9D179
ΔE00 5.56
Yellowish
#FAEE66
ΔE00 5.92
Sandy Yellow
#FDEE73
ΔE00 5.99
Sandy
#F1DA7A
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD966 #6669DC
analogous
#DC9E66 #DCD966 #A4DC66
triadic
#DCD966 #66DCD9 #D966DC
tetradic
#DCD966 #66DC9E #6669DC #DC66A4
square
#DCD966 #66DC9E #6669DC #DC66A4
split-complementary
#DCD966 #66A4DC #9E66DC
monochromatic
#A29F25 #D1CD34 #DCD966 #E7E598 #F3F2CA
Accessibility & contrast
On white
1.48
#DCD966 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.16
#DCD966 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD966
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD966 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD966 | 1.00 | 1.48 | 14.16 | 14.16 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D15B
Deuteranopia (green-blind)
#EBD66C
Tritanopia (blue-blind)
#EACDBF
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #dcd966; /* rgb */ color: rgb(220, 217, 102); /* oklch */ color: oklch(86.5% 0.137 107.6);
Tailwind
colors: {
custom: {
50: '#e9e495',
500: '#dcd966',
950: '#000000',
},
}SCSS
$custom: #dcd966; $custom-light: #e9e495; $custom-dark: #000000;
JSON
{
"hex": "#dcd966",
"rgb": {
"r": 220,
"g": 217,
"b": 102
},
"hsl": {
"h": 58.475,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.86497,
"c": 0.13736,
"h": 107.6
},
"luminance": 0.65801
}Semantic roles & 50–950 ramp
primary
#DCD966
secondary
#4143A6
accent
#1FCB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150D
muted
#85847F