#CDB552#CDB552
#CDB552 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.122 H 95.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB552 |
|---|---|
| RGB | rgb(205, 181, 82) |
| HSL | hsl(48, 55%, 56%) |
| HSV | hsv(48, 60%, 80%) |
| CMYK | cmyk(0%, 11.7%, 60%, 19.6%) |
| CIE-LAB | lab(73.96, -3.24, 52.48) |
| CIE-LCH | lch(73.96, 52.58, 93.53°) |
| OKLab | oklab(77.44% -0.0122 0.1212) |
| OKLCH | oklch(77.44% 0.122 95.8) |
| XYZ | xyz(43.2255, 46.6381, 14.7062) |
| Luminance | 0.4664 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.65
Mustard
#DBB42C
ΔE00 5.37
Brownish Yellow
#C9B003
ΔE00 5.78
Mustard (survey)
#CEB301
ΔE00 5.88
Sand (survey)
#E2CA76
ΔE00 5.99
Dark Yellow
#D5B60A
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB552 #526ACD
analogous
#CD7852 #CDB552 #A8CD52
triadic
#CDB552 #52CDB5 #B552CD
tetradic
#CDB552 #52CD78 #526ACD #CD52A8
square
#CDB552 #52CD78 #526ACD #CD52A8
split-complementary
#CDB552 #52A8CD #7852CD
monochromatic
#806E25 #AF9733 #CDB552 #DBC981 #E8DEB1
Accessibility & contrast
On white
2.03
#CDB552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.33
#CDB552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB552
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB552 | 1.00 | 2.03 | 10.33 | 10.33 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B148
Deuteranopia (green-blind)
#CCB957
Tritanopia (blue-blind)
#DCA99F
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cdb552; /* rgb */ color: rgb(205, 181, 82); /* oklch */ color: oklch(77.4% 0.122 95.8);
Tailwind
colors: {
custom: {
50: '#dfca86',
500: '#cdb552',
950: '#000000',
},
}SCSS
$custom: #cdb552; $custom-light: #dfca86; $custom-dark: #000000;
JSON
{
"hex": "#cdb552",
"rgb": {
"r": 205,
"g": 181,
"b": 82
},
"hsl": {
"h": 48.293,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.77443,
"c": 0.12178,
"h": 95.8
},
"luminance": 0.46636
}Semantic roles & 50–950 ramp
primary
#CDB552
secondary
#A4AED7
accent
#66DE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C