#DCC45A#DCC45A
#DCC45A is a very light, vivid yellow. Relative luminance 0.554; OKLCH L 82.0% C 0.128 H 96.7°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC45A |
|---|---|
| RGB | rgb(220, 196, 90) |
| HSL | hsl(49, 65%, 61%) |
| HSV | hsv(49, 59%, 86%) |
| CMYK | cmyk(0%, 10.9%, 59.1%, 13.7%) |
| CIE-LAB | lab(79.29, -4.17, 55.19) |
| CIE-LCH | lch(79.29, 55.34, 94.32°) |
| OKLab | oklab(82.01% -0.0149 0.1276) |
| OKLCH | oklch(82.01% 0.128 96.7) |
| XYZ | xyz(51.1027, 55.4360, 17.6793) |
| Luminance | 0.5543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.68
Maize
#F4D054
ΔE00 4.90
Light Mustard
#F7D560
ΔE00 5.24
Sandy
#F1DA7A
ΔE00 5.49
Mustard Yellow
#D2BD0A
ΔE00 5.98
Mustard
#DBB42C
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC45A #5A72DC
analogous
#DC835A #DCC45A #B3DC5A
triadic
#DCC45A #5ADCC4 #C45ADC
tetradic
#DCC45A #5ADC83 #5A72DC #DC5AB3
square
#DCC45A #5ADC83 #5A72DC #DC5AB3
split-complementary
#DCC45A #5AB3DC #835ADC
monochromatic
#9B8421 #CDAF2C #DCC45A #E7D68C #F1E8BF
Accessibility & contrast
On white
1.74
#DCC45A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.09
#DCC45A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC45A
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC45A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC45A | 1.00 | 1.74 | 12.09 | 12.09 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C04F
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#ECB7AD
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #dcc45a; /* rgb */ color: rgb(220, 196, 90); /* oklch */ color: oklch(82.0% 0.128 96.7);
Tailwind
colors: {
custom: {
50: '#ead58c',
500: '#dcc45a',
950: '#000000',
},
}SCSS
$custom: #dcc45a; $custom-light: #ead58c; $custom-dark: #000000;
JSON
{
"hex": "#dcc45a",
"rgb": {
"r": 220,
"g": 196,
"b": 90
},
"hsl": {
"h": 48.923,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.82009,
"c": 0.12847,
"h": 96.7
},
"luminance": 0.55434
}Semantic roles & 50–950 ramp
primary
#DCC45A
secondary
#3B4E9F
accent
#3ACD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F