#CDB152#CDB152
#CDB152 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.119 H 93.0°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB152 |
|---|---|
| RGB | rgb(205, 177, 82) |
| HSL | hsl(46, 55%, 56%) |
| HSV | hsv(46, 60%, 80%) |
| CMYK | cmyk(0%, 13.7%, 60%, 19.6%) |
| CIE-LAB | lab(72.91, -1.14, 51.31) |
| CIE-LCH | lch(72.91, 51.32, 91.27°) |
| OKLab | oklab(76.62% -0.0062 0.1187) |
| OKLCH | oklch(76.62% 0.119 93) |
| XYZ | xyz(42.4238, 45.0348, 14.4390) |
| Luminance | 0.4503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.30
Tan (survey)
#D1B26F
ΔE00 5.14
Mustard
#DBB42C
ΔE00 5.15
Sandy Brown
#C4A661
ΔE00 5.28
Brownish Yellow
#C9B003
ΔE00 6.27
Burnt Yellow
#D5AB09
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB152 #526ECD
analogous
#CD7452 #CDB152 #ACCD52
triadic
#CDB152 #52CDB1 #B152CD
tetradic
#CDB152 #52CD74 #526ECD #CD52AC
square
#CDB152 #52CD74 #526ECD #CD52AC
split-complementary
#CDB152 #52ACCD #7452CD
monochromatic
#806B25 #AF9333 #CDB152 #DBC681 #E8DCB1
Accessibility & contrast
On white
2.10
#CDB152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.01
#CDB152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB152
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB152 | 1.00 | 2.10 | 10.01 | 10.01 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE48
Deuteranopia (green-blind)
#C9B756
Tritanopia (blue-blind)
#DCA59C
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cdb152; /* rgb */ color: rgb(205, 177, 82); /* oklch */ color: oklch(76.6% 0.119 93.0);
Tailwind
colors: {
custom: {
50: '#dfc886',
500: '#cdb152',
950: '#000000',
},
}SCSS
$custom: #cdb152; $custom-light: #dfc886; $custom-dark: #000000;
JSON
{
"hex": "#cdb152",
"rgb": {
"r": 205,
"g": 177,
"b": 82
},
"hsl": {
"h": 46.341,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.76619,
"c": 0.11881,
"h": 93
},
"luminance": 0.45033
}Semantic roles & 50–950 ramp
primary
#CDB152
secondary
#A4B0D7
accent
#6BDE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C