#CDB458#CDB458
#CDB458 is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.116 H 94.3°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB458 |
|---|---|
| RGB | rgb(205, 180, 88) |
| HSL | hsl(47, 54%, 57%) |
| HSV | hsv(47, 57%, 80%) |
| CMYK | cmyk(0%, 12.2%, 57.1%, 19.6%) |
| CIE-LAB | lab(73.76, -2.28, 49.45) |
| CIE-LCH | lch(73.76, 49.50, 92.63°) |
| OKLab | oklab(77.31% -0.0088 0.1154) |
| OKLCH | oklch(77.31% 0.116 94.3) |
| XYZ | xyz(43.2613, 46.3283, 15.8941) |
| Luminance | 0.4633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.63
Tan (survey)
#D1B26F
ΔE00 5.08
Sandy Brown
#C4A661
ΔE00 5.63
Sand (survey)
#E2CA76
ΔE00 5.82
Mustard
#DBB42C
ΔE00 5.85
Darkkhaki
#BDB76B
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB458 #5871CD
analogous
#CD7958 #CDB458 #ACCD58
triadic
#CDB458 #58CDB4 #B458CD
tetradic
#CDB458 #58CD79 #5871CD #CD58AC
square
#CDB458 #58CD79 #5871CD #CD58AC
split-complementary
#CDB458 #58ACCD #7958CD
monochromatic
#837027 #B29835 #CDB458 #DBC987 #E9DEB6
Accessibility & contrast
On white
2.05
#CDB458 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.27
#CDB458 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB458
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB458 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB458 | 1.00 | 2.05 | 10.27 | 10.27 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B14F
Deuteranopia (green-blind)
#CBB95C
Tritanopia (blue-blind)
#DCA89F
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cdb458; /* rgb */ color: rgb(205, 180, 88); /* oklch */ color: oklch(77.3% 0.116 94.3);
Tailwind
colors: {
custom: {
50: '#dfca8a',
500: '#cdb458',
950: '#000000',
},
}SCSS
$custom: #cdb458; $custom-light: #dfca8a; $custom-dark: #000000;
JSON
{
"hex": "#cdb458",
"rgb": {
"r": 205,
"g": 180,
"b": 88
},
"hsl": {
"h": 47.179,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.77305,
"c": 0.11569,
"h": 94.3
},
"luminance": 0.46326
}Semantic roles & 50–950 ramp
primary
#CDB458
secondary
#A9B3D8
accent
#6ADD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D