#CDB042#CDB042
#CDB042 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.131 H 94.2°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB042 |
|---|---|
| RGB | rgb(205, 176, 66) |
| HSL | hsl(47, 58%, 53%) |
| HSV | hsv(47, 68%, 80%) |
| CMYK | cmyk(0%, 14.1%, 67.8%, 19.6%) |
| CIE-LAB | lab(72.51, -1.63, 57.98) |
| CIE-LCH | lch(72.51, 58.00, 91.61°) |
| OKLab | oklab(76.26% -0.0095 0.1305) |
| OKLCH | oklch(76.26% 0.131 94.2) |
| XYZ | xyz(41.6876, 44.4254, 11.5324) |
| Luminance | 0.4442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.76
Brownish Yellow
#C9B003
ΔE00 4.40
Mustard (survey)
#CEB301
ΔE00 4.55
Dark Yellow
#D5B60A
ΔE00 4.67
Burnt Yellow
#D5AB09
ΔE00 4.78
Gold (survey)
#DBB40C
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB042 #425FCD
analogous
#CD6A42 #CDB042 #A4CD42
triadic
#CDB042 #42CDB0 #B042CD
tetradic
#CDB042 #42CD6A #425FCD #CD42A4
square
#CDB042 #42CD6A #425FCD #CD42A4
split-complementary
#CDB042 #42A4CD #6A42CD
monochromatic
#76631F #A68C2C #CDB042 #DAC472 #E7D8A3
Accessibility & contrast
On white
2.12
#CDB042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#CDB042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB042
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB042 | 1.00 | 2.12 | 9.88 | 9.88 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD34
Deuteranopia (green-blind)
#C9B648
Tritanopia (blue-blind)
#DDA399
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cdb042; /* rgb */ color: rgb(205, 176, 66); /* oklch */ color: oklch(76.3% 0.131 94.2);
Tailwind
colors: {
custom: {
50: '#e0c77c',
500: '#cdb042',
950: '#000000',
},
}SCSS
$custom: #cdb042; $custom-light: #e0c77c; $custom-dark: #000000;
JSON
{
"hex": "#cdb042",
"rgb": {
"r": 205,
"g": 176,
"b": 66
},
"hsl": {
"h": 47.482,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.76255,
"c": 0.13082,
"h": 94.2
},
"luminance": 0.44423
}Semantic roles & 50–950 ramp
primary
#CDB042
secondary
#97A4D3
accent
#67E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C