#CDB849#CDB849
#CDB849 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.132 H 98.5°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB849 |
|---|---|
| RGB | rgb(205, 184, 73) |
| HSL | hsl(50, 57%, 55%) |
| HSV | hsv(50, 64%, 80%) |
| CMYK | cmyk(0%, 10.2%, 64.4%, 19.6%) |
| CIE-LAB | lab(74.66, -5.40, 57.27) |
| CIE-LCH | lch(74.66, 57.52, 95.39°) |
| OKLab | oklab(77.98% -0.0195 0.1301) |
| OKLCH | oklch(77.98% 0.132 98.5) |
| XYZ | xyz(43.5218, 47.7431, 13.2249) |
| Luminance | 0.4774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.73
Mustard (survey)
#CEB301
ΔE00 4.77
Mustard Yellow
#D2BD0A
ΔE00 4.96
Dark Yellow
#D5B60A
ΔE00 5.01
Olive Yellow
#C2B709
ΔE00 5.15
Muddy Yellow
#BFAC05
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB849 #495ECD
analogous
#CD7649 #CDB849 #A0CD49
triadic
#CDB849 #49CDB8 #B849CD
tetradic
#CDB849 #49CD76 #495ECD #CD49A0
square
#CDB849 #49CD76 #495ECD #CD49A0
split-complementary
#CDB849 #49A0CD #7649CD
monochromatic
#7A6C22 #AA962F #CDB849 #DACB79 #E7DDA9
Accessibility & contrast
On white
1.99
#CDB849 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#CDB849 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB849
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB849 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB849 | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B33C
Deuteranopia (green-blind)
#CFBB4F
Tritanopia (blue-blind)
#DCABA1
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #cdb849; /* rgb */ color: rgb(205, 184, 73); /* oklch */ color: oklch(78.0% 0.132 98.5);
Tailwind
colors: {
custom: {
50: '#dfcd81',
500: '#cdb849',
950: '#000000',
},
}SCSS
$custom: #cdb849; $custom-light: #dfcd81; $custom-dark: #000000;
JSON
{
"hex": "#cdb849",
"rgb": {
"r": 205,
"g": 184,
"b": 73
},
"hsl": {
"h": 50.455,
"s": 56.897,
"l": 54.51
},
"oklch": {
"l": 0.77975,
"c": 0.13154,
"h": 98.5
},
"luminance": 0.47741
}Semantic roles & 50–950 ramp
primary
#CDB849
secondary
#9DA6D5
accent
#60E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C