#CCB97E#CCB97E
#CCB97E is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.080 H 92.3°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB97E |
|---|---|
| RGB | rgb(204, 185, 126) |
| HSL | hsl(45, 43%, 65%) |
| HSV | hsv(45, 38%, 80%) |
| CMYK | cmyk(0%, 9.3%, 38.2%, 20%) |
| CIE-LAB | lab(75.48, -1.69, 32.42) |
| CIE-LCH | lch(75.48, 32.46, 92.98°) |
| OKLab | oklab(78.81% -0.0032 0.08) |
| OKLCH | oklch(78.81% 0.08 92.3) |
| XYZ | xyz(46.0176, 49.0432, 26.7769) |
| Luminance | 0.4904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.83
Sandstone
#C9AE74
ΔE00 3.71
Tan (survey)
#D1B26F
ΔE00 4.05
Very Light Brown
#D3B683
ΔE00 4.22
Toupe
#C7AC7D
ΔE00 5.30
Fawn
#CFAF7B
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB97E #7E91CC
analogous
#CC927E #CCB97E #B8CC7E
triadic
#CCB97E #7ECCB9 #B97ECC
tetradic
#CCB97E #7ECC92 #7E91CC #CC7EB8
square
#CCB97E #7ECC92 #7E91CC #CC7EB8
split-complementary
#CCB97E #7EB8CC #927ECC
monochromatic
#957F3B #BBA152 #CCB97E #DDD1AA #EFE9D6
Accessibility & contrast
On white
1.94
#CCB97E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.81
#CCB97E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB97E
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB97E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB97E | 1.00 | 1.94 | 10.81 | 10.81 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B77A
Deuteranopia (green-blind)
#CABC80
Tritanopia (blue-blind)
#D8B0AA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #ccb97e; /* rgb */ color: rgb(204, 185, 126); /* oklch */ color: oklch(78.8% 0.080 92.3);
Tailwind
colors: {
custom: {
50: '#ddcda4',
500: '#ccb97e',
950: '#000000',
},
}SCSS
$custom: #ccb97e; $custom-light: #ddcda4; $custom-dark: #000000;
JSON
{
"hex": "#ccb97e",
"rgb": {
"r": 204,
"g": 185,
"b": 126
},
"hsl": {
"h": 45.385,
"s": 43.333,
"l": 64.706
},
"oklch": {
"l": 0.78807,
"c": 0.08008,
"h": 92.3
},
"luminance": 0.49042
}Semantic roles & 50–950 ramp
primary
#CCB97E
secondary
#C6CCE0
accent
#50B62F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F