#CDB142#CDB142
#CDB142 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.132 H 94.8°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB142 |
|---|---|
| RGB | rgb(205, 177, 66) |
| HSL | hsl(48, 58%, 53%) |
| HSV | hsv(48, 68%, 80%) |
| CMYK | cmyk(0%, 13.7%, 67.8%, 19.6%) |
| CIE-LAB | lab(72.77, -2.15, 58.25) |
| CIE-LCH | lch(72.77, 58.29, 92.12°) |
| OKLab | oklab(76.46% -0.011 0.131) |
| OKLCH | oklch(76.46% 0.132 94.8) |
| XYZ | xyz(41.8844, 44.8190, 11.5980) |
| Luminance | 0.4482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.81
Brownish Yellow
#C9B003
ΔE00 4.23
Mustard (survey)
#CEB301
ΔE00 4.36
Dark Yellow
#D5B60A
ΔE00 4.51
Gold (survey)
#DBB40C
ΔE00 4.90
Muddy Yellow
#BFAC05
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB142 #425ECD
analogous
#CD6B42 #CDB142 #A3CD42
triadic
#CDB142 #42CDB1 #B142CD
tetradic
#CDB142 #42CD6B #425ECD #CD42A3
square
#CDB142 #42CD6B #425ECD #CD42A3
split-complementary
#CDB142 #42A3CD #6B42CD
monochromatic
#76641F #A68D2C #CDB142 #DAC572 #E7D9A3
Accessibility & contrast
On white
2.11
#CDB142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#CDB142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB142
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB142 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE34
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#DDA49A
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cdb142; /* rgb */ color: rgb(205, 177, 66); /* oklch */ color: oklch(76.5% 0.132 94.8);
Tailwind
colors: {
custom: {
50: '#e0c87c',
500: '#cdb142',
950: '#000000',
},
}SCSS
$custom: #cdb142; $custom-light: #e0c87c; $custom-dark: #000000;
JSON
{
"hex": "#cdb142",
"rgb": {
"r": 205,
"g": 177,
"b": 66
},
"hsl": {
"h": 47.914,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.76461,
"c": 0.1315,
"h": 94.8
},
"luminance": 0.44817
}Semantic roles & 50–950 ramp
primary
#CDB142
secondary
#97A4D3
accent
#66E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C