#DCD46C#DCD46C
#DCD46C is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.5% C 0.127 H 104.8°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD46C |
|---|---|
| RGB | rgb(220, 212, 108) |
| HSL | hsl(56, 62%, 64%) |
| HSV | hsv(56, 51%, 86%) |
| CMYK | cmyk(0%, 3.6%, 50.9%, 13.7%) |
| CIE-LAB | lab(83.65, -10.92, 51.87) |
| CIE-LCH | lch(83.65, 53.00, 101.89°) |
| OKLab | oklab(85.52% -0.0323 0.1224) |
| OKLCH | oklch(85.52% 0.127 104.8) |
| XYZ | xyz(55.7670, 63.3870, 23.4818) |
| Luminance | 0.6339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.58
Sandy
#F1DA7A
ΔE00 4.76
Khaki (CSS)
#F0E68C
ΔE00 4.85
Greenish Beige
#C9D179
ΔE00 5.27
Sand (survey)
#E2CA76
ΔE00 5.70
Sand Yellow
#FCE166
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD46C #6C74DC
analogous
#DC9C6C #DCD46C #ACDC6C
triadic
#DCD46C #6CDCD4 #D46CDC
tetradic
#DCD46C #6CDC9C #6C74DC #DC6CAC
square
#DCD46C #6CDC9C #6C74DC #DC6CAC
split-complementary
#DCD46C #6CACDC #9C6CDC
monochromatic
#A69D28 #D0C63B #DCD46C #E8E29D #F4F1CF
Accessibility & contrast
On white
1.54
#DCD46C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.68
#DCD46C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD46C
13.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD46C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD46C | 1.00 | 1.54 | 13.68 | 13.68 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CE62
Deuteranopia (green-blind)
#E7D371
Tritanopia (blue-blind)
#EAC8BC
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd46c; /* rgb */ color: rgb(220, 212, 108); /* oklch */ color: oklch(85.5% 0.127 104.8);
Tailwind
colors: {
custom: {
50: '#e9e199',
500: '#dcd46c',
950: '#000000',
},
}SCSS
$custom: #dcd46c; $custom-light: #e9e199; $custom-dark: #000000;
JSON
{
"hex": "#dcd46c",
"rgb": {
"r": 220,
"g": 212,
"b": 108
},
"hsl": {
"h": 55.714,
"s": 61.538,
"l": 64.314
},
"oklch": {
"l": 0.85523,
"c": 0.12655,
"h": 104.8
},
"luminance": 0.63385
}Semantic roles & 50–950 ramp
primary
#DCD46C
secondary
#434AA9
accent
#29C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F