#CDB257#CDB257
#CDB257 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.115 H 93.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB257 |
|---|---|
| RGB | rgb(205, 178, 87) |
| HSL | hsl(46, 54%, 57%) |
| HSV | hsv(46, 58%, 80%) |
| CMYK | cmyk(0%, 13.2%, 57.6%, 19.6%) |
| CIE-LAB | lab(73.23, -1.30, 49.31) |
| CIE-LCH | lch(73.23, 49.33, 91.51°) |
| OKLab | oklab(76.88% -0.006 0.115) |
| OKLCH | oklch(76.88% 0.115 93) |
| XYZ | xyz(42.8193, 45.5101, 15.5439) |
| Luminance | 0.4551 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.00
Tan (survey)
#D1B26F
ΔE00 4.67
Sandy Brown
#C4A661
ΔE00 5.04
Mustard
#DBB42C
ΔE00 5.69
Sandstone
#C9AE74
ΔE00 6.11
Sand (survey)
#E2CA76
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB257 #5772CD
analogous
#CD7757 #CDB257 #ADCD57
triadic
#CDB257 #57CDB2 #B257CD
tetradic
#CDB257 #57CD77 #5772CD #CD57AD
square
#CDB257 #57CD77 #5772CD #CD57AD
split-complementary
#CDB257 #57ADCD #7757CD
monochromatic
#836E27 #B29535 #CDB257 #DBC886 #E9DDB5
Accessibility & contrast
On white
2.08
#CDB257 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.10
#CDB257 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB257
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB257 | 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)
#C2AF4E
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#DCA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cdb257; /* rgb */ color: rgb(205, 178, 87); /* oklch */ color: oklch(76.9% 0.115 93.0);
Tailwind
colors: {
custom: {
50: '#dfc889',
500: '#cdb257',
950: '#000000',
},
}SCSS
$custom: #cdb257; $custom-light: #dfc889; $custom-dark: #000000;
JSON
{
"hex": "#cdb257",
"rgb": {
"r": 205,
"g": 178,
"b": 87
},
"hsl": {
"h": 46.271,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.76882,
"c": 0.11511,
"h": 93
},
"luminance": 0.45508
}Semantic roles & 50–950 ramp
primary
#CDB257
secondary
#A8B3D8
accent
#6CDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D