#CDB752#CDB752
#CDB752 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.123 H 97.1°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB752 |
|---|---|
| RGB | rgb(205, 183, 82) |
| HSL | hsl(49, 55%, 56%) |
| HSV | hsv(49, 60%, 80%) |
| CMYK | cmyk(0%, 10.7%, 60%, 19.6%) |
| CIE-LAB | lab(74.48, -4.29, 53.07) |
| CIE-LCH | lch(74.48, 53.24, 94.62°) |
| OKLab | oklab(77.86% -0.0153 0.1224) |
| OKLCH | oklch(77.86% 0.123 97.1) |
| XYZ | xyz(43.6351, 47.4573, 14.8427) |
| Luminance | 0.4746 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 5.36
Mustard
#DBB42C
ΔE00 5.65
Brownish Yellow
#C9B003
ΔE00 5.72
Sand (survey)
#E2CA76
ΔE00 5.78
Mustard (survey)
#CEB301
ΔE00 5.80
Dark Yellow
#D5B60A
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB752 #5268CD
analogous
#CD7A52 #CDB752 #A6CD52
triadic
#CDB752 #52CDB7 #B752CD
tetradic
#CDB752 #52CD7A #5268CD #CD52A6
square
#CDB752 #52CD7A #5268CD #CD52A6
split-complementary
#CDB752 #52A6CD #7A52CD
monochromatic
#806F25 #AF9933 #CDB752 #DBCB81 #E8DFB1
Accessibility & contrast
On white
2.00
#CDB752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.49
#CDB752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB752
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB752 | 1.00 | 2.00 | 10.49 | 10.49 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#CDBA57
Tritanopia (blue-blind)
#DCABA1
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #cdb752; /* rgb */ color: rgb(205, 183, 82); /* oklch */ color: oklch(77.9% 0.123 97.1);
Tailwind
colors: {
custom: {
50: '#dfcc86',
500: '#cdb752',
950: '#000000',
},
}SCSS
$custom: #cdb752; $custom-light: #dfcc86; $custom-dark: #000000;
JSON
{
"hex": "#cdb752",
"rgb": {
"r": 205,
"g": 183,
"b": 82
},
"hsl": {
"h": 49.268,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.77857,
"c": 0.12336,
"h": 97.1
},
"luminance": 0.47455
}Semantic roles & 50–950 ramp
primary
#CDB752
secondary
#A4ADD7
accent
#64DE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C