#CDB945#CDB945
#CDB945 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.135 H 99.4°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB945 |
|---|---|
| RGB | rgb(205, 185, 69) |
| HSL | hsl(51, 58%, 54%) |
| HSV | hsv(51, 66%, 80%) |
| CMYK | cmyk(0%, 9.8%, 66.3%, 19.6%) |
| CIE-LAB | lab(74.89, -6.16, 59.20) |
| CIE-LCH | lch(74.89, 59.52, 95.94°) |
| OKLab | oklab(78.15% -0.0221 0.1336) |
| OKLCH | oklch(78.15% 0.135 99.4) |
| XYZ | xyz(43.6019, 48.1087, 12.6183) |
| Luminance | 0.4811 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.37
Brownish Yellow
#C9B003
ΔE00 4.45
Mustard (survey)
#CEB301
ΔE00 4.45
Olive Yellow
#C2B709
ΔE00 4.56
Dark Yellow
#D5B60A
ΔE00 4.74
Muddy Yellow
#BFAC05
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB945 #4559CD
analogous
#CD7545 #CDB945 #9DCD45
triadic
#CDB945 #45CDB9 #B945CD
tetradic
#CDB945 #45CD75 #4559CD #CD459D
square
#CDB945 #45CD75 #4559CD #CD459D
split-complementary
#CDB945 #459DCD #7545CD
monochromatic
#776B20 #A8962D #CDB945 #DACB75 #E7DDA5
Accessibility & contrast
On white
1.98
#CDB945 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.62
#CDB945 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB945
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB945 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB945 | 1.00 | 1.98 | 10.62 | 10.62 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#DCACA1
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #cdb945; /* rgb */ color: rgb(205, 185, 69); /* oklch */ color: oklch(78.1% 0.135 99.4);
Tailwind
colors: {
custom: {
50: '#e0cd7e',
500: '#cdb945',
950: '#000000',
},
}SCSS
$custom: #cdb945; $custom-light: #e0cd7e; $custom-dark: #000000;
JSON
{
"hex": "#cdb945",
"rgb": {
"r": 205,
"g": 185,
"b": 69
},
"hsl": {
"h": 51.176,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.78148,
"c": 0.13537,
"h": 99.4
},
"luminance": 0.48107
}Semantic roles & 50–950 ramp
primary
#CDB945
secondary
#9AA2D4
accent
#5EE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C