#CDB258#CDB258
#CDB258 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.114 H 92.9°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB258 |
|---|---|
| RGB | rgb(205, 178, 88) |
| HSL | hsl(46, 54%, 57%) |
| HSV | hsv(46, 57%, 80%) |
| CMYK | cmyk(0%, 13.2%, 57.1%, 19.6%) |
| CIE-LAB | lab(73.24, -1.22, 48.85) |
| CIE-LCH | lch(73.24, 48.86, 91.43°) |
| OKLab | oklab(76.89% -0.0057 0.1141) |
| OKLCH | oklch(76.89% 0.114 92.9) |
| XYZ | xyz(42.8605, 45.5266, 15.7605) |
| Luminance | 0.4552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.88
Tan (survey)
#D1B26F
ΔE00 4.53
Sandy Brown
#C4A661
ΔE00 4.93
Mustard
#DBB42C
ΔE00 5.81
Sandstone
#C9AE74
ΔE00 5.96
Sand (survey)
#E2CA76
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB258 #5873CD
analogous
#CD7858 #CDB258 #ADCD58
triadic
#CDB258 #58CDB2 #B258CD
tetradic
#CDB258 #58CD78 #5873CD #CD58AD
square
#CDB258 #58CD78 #5873CD #CD58AD
split-complementary
#CDB258 #58ADCD #7858CD
monochromatic
#836E27 #B29635 #CDB258 #DBC887 #E9DDB6
Accessibility & contrast
On white
2.08
#CDB258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.10
#CDB258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB258
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB258 | 1.00 | 2.08 | 10.10 | 10.10 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AF4F
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#DCA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cdb258; /* rgb */ color: rgb(205, 178, 88); /* oklch */ color: oklch(76.9% 0.114 92.9);
Tailwind
colors: {
custom: {
50: '#dfc88a',
500: '#cdb258',
950: '#000000',
},
}SCSS
$custom: #cdb258; $custom-light: #dfc88a; $custom-dark: #000000;
JSON
{
"hex": "#cdb258",
"rgb": {
"r": 205,
"g": 178,
"b": 88
},
"hsl": {
"h": 46.154,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.76894,
"c": 0.1142,
"h": 92.9
},
"luminance": 0.45525
}Semantic roles & 50–950 ramp
primary
#CDB258
secondary
#A9B4D8
accent
#6CDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D