#DCD97C#DCD97C
#DCD97C is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.116 H 107.0°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD97C |
|---|---|
| RGB | rgb(220, 217, 124) |
| HSL | hsl(58, 58%, 67%) |
| HSV | hsv(58, 44%, 86%) |
| CMYK | cmyk(0%, 1.4%, 43.6%, 13.7%) |
| CIE-LAB | lab(85.15, -11.96, 46.00) |
| CIE-LCH | lch(85.15, 47.53, 104.58°) |
| OKLab | oklab(86.78% -0.0337 0.1107) |
| OKLCH | oklch(86.78% 0.116 107) |
| XYZ | xyz(57.9673, 66.2980, 28.8081) |
| Luminance | 0.6630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.78
Greenish Beige
#C9D179
ΔE00 3.87
Sandy
#F1DA7A
ΔE00 5.60
Dull Yellow
#EEDC5B
ΔE00 6.35
Dark Cream
#FFF39A
ΔE00 6.60
Sand (survey)
#E2CA76
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD97C #7C7FDC
analogous
#DCA97C #DCD97C #AFDC7C
triadic
#DCD97C #7CDCD9 #D97CDC
tetradic
#DCD97C #7CDCA9 #7C7FDC #DC7CAF
square
#DCD97C #7CDCA9 #7C7FDC #DC7CAF
split-complementary
#DCD97C #7CAFDC #A97CDC
monochromatic
#AFAB2F #CFCB4C #DCD97C #E9E7AC #F6F5DD
Accessibility & contrast
On white
1.47
#DCD97C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.26
#DCD97C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD97C
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD97C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD97C | 1.00 | 1.47 | 14.26 | 14.26 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D274
Deuteranopia (green-blind)
#E9D780
Tritanopia (blue-blind)
#E8CEC3
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #dcd97c; /* rgb */ color: rgb(220, 217, 124); /* oklch */ color: oklch(86.8% 0.116 107.0);
Tailwind
colors: {
custom: {
50: '#e8e4a3',
500: '#dcd97c',
950: '#000000',
},
}SCSS
$custom: #dcd97c; $custom-light: #e8e4a3; $custom-dark: #000000;
JSON
{
"hex": "#dcd97c",
"rgb": {
"r": 220,
"g": 217,
"b": 124
},
"hsl": {
"h": 58.125,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.86779,
"c": 0.1157,
"h": 107
},
"luminance": 0.66297
}Semantic roles & 50–950 ramp
primary
#DCD97C
secondary
#4B4EB1
accent
#25C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480