#CDB261#CDB261
#CDB261 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.106 H 91.4°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB261 |
|---|---|
| RGB | rgb(205, 178, 97) |
| HSL | hsl(45, 52%, 59%) |
| HSV | hsv(45, 53%, 80%) |
| CMYK | cmyk(0%, 13.2%, 52.7%, 19.6%) |
| CIE-LAB | lab(73.34, -0.49, 44.58) |
| CIE-LCH | lch(73.34, 44.59, 90.63°) |
| OKLab | oklab(77.01% -0.0025 0.1057) |
| OKLCH | oklch(77.01% 0.106 91.4) |
| XYZ | xyz(43.2565, 45.6850, 17.8466) |
| Luminance | 0.4568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 1.91
Tan (survey)
#D1B26F
ΔE00 3.17
Sandy Brown
#C4A661
ΔE00 3.99
Sandstone
#C9AE74
ΔE00 4.56
Sand Brown
#CBA560
ΔE00 5.40
Sand (survey)
#E2CA76
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB261 #617CCD
analogous
#CD7C61 #CDB261 #B2CD61
triadic
#CDB261 #61CDB2 #B261CD
tetradic
#CDB261 #61CD7C #617CCD #CD61B2
square
#CDB261 #61CD7C #617CCD #CD61B2
split-complementary
#CDB261 #61B2CD #7C61CD
monochromatic
#88712B #B7983A #CDB261 #DCC98F #EADFBE
Accessibility & contrast
On white
2.07
#CDB261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.14
#CDB261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB261
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB261 | 1.00 | 2.07 | 10.14 | 10.14 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B05A
Deuteranopia (green-blind)
#C8B764
Tritanopia (blue-blind)
#DBA79F
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cdb261; /* rgb */ color: rgb(205, 178, 97); /* oklch */ color: oklch(77.0% 0.106 91.4);
Tailwind
colors: {
custom: {
50: '#dec890',
500: '#cdb261',
950: '#000000',
},
}SCSS
$custom: #cdb261; $custom-light: #dec890; $custom-dark: #000000;
JSON
{
"hex": "#cdb261",
"rgb": {
"r": 205,
"g": 178,
"b": 97
},
"hsl": {
"h": 45,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.77009,
"c": 0.10571,
"h": 91.4
},
"luminance": 0.45683
}Semantic roles & 50–950 ramp
primary
#CDB261
secondary
#B0BADA
accent
#70DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D