#DCB333#DCB333
#DCB333 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.2% C 0.145 H 90.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #DCB333 |
|---|---|
| RGB | rgb(220, 179, 51) |
| HSL | hsl(45, 71%, 53%) |
| HSV | hsv(45, 77%, 86%) |
| CMYK | cmyk(0%, 18.6%, 76.8%, 13.7%) |
| CIE-LAB | lab(74.63, 2.57, 66.32) |
| CIE-LCH | lch(74.63, 66.37, 87.78°) |
| OKLab | oklab(78.23% 0 0.1448) |
| OKLCH | oklch(78.23% 0.145 90) |
| XYZ | xyz(46.2356, 47.6978, 9.9027) |
| Luminance | 0.4769 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 0.98
Gold (survey)
#DBB40C
ΔE00 2.54
Burnt Yellow
#D5AB09
ΔE00 2.76
Dark Yellow
#D5B60A
ΔE00 4.01
Goldenrod
#DAA520
ΔE00 4.64
Mustard (survey)
#CEB301
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCB333 #335CDC
analogous
#DC5E33 #DCB333 #B0DC33
triadic
#DCB333 #33DCB3 #B333DC
tetradic
#DCB333 #33DC5E #335CDC #DC33B0
square
#DCB333 #33DC5E #335CDC #DC33B0
split-complementary
#DCB333 #33B0DC #5E33DC
monochromatic
#7F6516 #B38F1F #DCB333 #E5C667 #EEDA9B
Accessibility & contrast
On white
1.99
#DCB333 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#DCB333 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCB333
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCB333 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCB333 | 1.00 | 1.99 | 10.54 | 10.54 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B11A
Deuteranopia (green-blind)
#D2BC3A
Tritanopia (blue-blind)
#EEA39A
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #dcb333; /* rgb */ color: rgb(220, 179, 51); /* oklch */ color: oklch(78.2% 0.145 90.0);
Tailwind
colors: {
custom: {
50: '#ecc974',
500: '#dcb333',
950: '#000000',
},
}SCSS
$custom: #dcb333; $custom-light: #ecc974; $custom-dark: #000000;
JSON
{
"hex": "#dcb333",
"rgb": {
"r": 220,
"g": 179,
"b": 51
},
"hsl": {
"h": 45.444,
"s": 70.711,
"l": 53.137
},
"oklch": {
"l": 0.78234,
"c": 0.14476,
"h": 90
},
"luminance": 0.47695
}Semantic roles & 50–950 ramp
primary
#DCB333
secondary
#91A3DA
accent
#66ED3A
background
#FFFCF7
surface
#FEF8ED
border
#D6D1C8
text
#171309
muted
#85827B