#CDB358#CDB358
#CDB358 is a light, moderate yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.115 H 93.6°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB358 |
|---|---|
| RGB | rgb(205, 179, 88) |
| HSL | hsl(47, 54%, 57%) |
| HSV | hsv(47, 57%, 80%) |
| CMYK | cmyk(0%, 12.7%, 57.1%, 19.6%) |
| CIE-LAB | lab(73.50, -1.75, 49.15) |
| CIE-LCH | lch(73.50, 49.18, 92.04°) |
| OKLab | oklab(77.1% -0.0072 0.1147) |
| OKLCH | oklch(77.1% 0.115 93.6) |
| XYZ | xyz(43.0601, 45.9260, 15.8271) |
| Luminance | 0.4592 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.25
Tan (survey)
#D1B26F
ΔE00 4.79
Sandy Brown
#C4A661
ΔE00 5.28
Mustard
#DBB42C
ΔE00 5.81
Sand (survey)
#E2CA76
ΔE00 6.01
Sandstone
#C9AE74
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB358 #5872CD
analogous
#CD7958 #CDB358 #ACCD58
triadic
#CDB358 #58CDB3 #B358CD
tetradic
#CDB358 #58CD79 #5872CD #CD58AC
square
#CDB358 #58CD79 #5872CD #CD58AC
split-complementary
#CDB358 #58ACCD #7958CD
monochromatic
#836F27 #B29735 #CDB358 #DBC887 #E9DEB6
Accessibility & contrast
On white
2.06
#CDB358 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.18
#CDB358 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB358
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB358 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB358 | 1.00 | 2.06 | 10.18 | 10.18 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B04F
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#DCA79E
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cdb358; /* rgb */ color: rgb(205, 179, 88); /* oklch */ color: oklch(77.1% 0.115 93.6);
Tailwind
colors: {
custom: {
50: '#dfc98a',
500: '#cdb358',
950: '#000000',
},
}SCSS
$custom: #cdb358; $custom-light: #dfc98a; $custom-dark: #000000;
JSON
{
"hex": "#cdb358",
"rgb": {
"r": 205,
"g": 179,
"b": 88
},
"hsl": {
"h": 46.667,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.77099,
"c": 0.11494,
"h": 93.6
},
"luminance": 0.45924
}Semantic roles & 50–950 ramp
primary
#CDB358
secondary
#A9B3D8
accent
#6BDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D