#DCC05F#DCC05F
#DCC05F is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.3% C 0.121 H 93.5°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC05F |
|---|---|
| RGB | rgb(220, 192, 95) |
| HSL | hsl(47, 64%, 62%) |
| HSV | hsv(47, 57%, 86%) |
| CMYK | cmyk(0%, 12.7%, 56.8%, 13.7%) |
| CIE-LAB | lab(78.31, -1.73, 51.75) |
| CIE-LCH | lch(78.31, 51.78, 91.91°) |
| OKLab | oklab(81.25% -0.0073 0.1208) |
| OKLCH | oklch(81.25% 0.121 93.5) |
| XYZ | xyz(50.4325, 53.7436, 18.5413) |
| Luminance | 0.5374 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.28
Maize
#F4D054
ΔE00 5.48
Mustard
#DBB42C
ΔE00 5.61
Desert
#CCAD60
ΔE00 5.85
Light Mustard
#F7D560
ΔE00 5.88
Sandy
#F1DA7A
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC05F #5F7BDC
analogous
#DC825F #DCC05F #BADC5F
triadic
#DCC05F #5FDCC0 #C05FDC
tetradic
#DCC05F #5FDC82 #5F7BDC #DC5FBA
square
#DCC05F #5FDC82 #5F7BDC #DC5FBA
split-complementary
#DCC05F #5FBADC #825FDC
monochromatic
#9E8223 #D0AC2E #DCC05F #E7D491 #F2E8C3
Accessibility & contrast
On white
1.79
#DCC05F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#DCC05F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC05F
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC05F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC05F | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD56
Deuteranopia (green-blind)
#D9C563
Tritanopia (blue-blind)
#ECB3AA
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #dcc05f; /* rgb */ color: rgb(220, 192, 95); /* oklch */ color: oklch(81.3% 0.121 93.5);
Tailwind
colors: {
custom: {
50: '#ead28f',
500: '#dcc05f',
950: '#000000',
},
}SCSS
$custom: #dcc05f; $custom-light: #ead28f; $custom-dark: #000000;
JSON
{
"hex": "#dcc05f",
"rgb": {
"r": 220,
"g": 192,
"b": 95
},
"hsl": {
"h": 46.56,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.81251,
"c": 0.12102,
"h": 93.5
},
"luminance": 0.53741
}Semantic roles & 50–950 ramp
primary
#DCC05F
secondary
#3E54A2
accent
#42CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F