#CCB97F#CCB97F
#CCB97F is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.079 H 92.0°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB97F |
|---|---|
| RGB | rgb(204, 185, 127) |
| HSL | hsl(45, 43%, 65%) |
| HSV | hsv(45, 38%, 80%) |
| CMYK | cmyk(0%, 9.3%, 37.7%, 20%) |
| CIE-LAB | lab(75.49, -1.57, 31.91) |
| CIE-LCH | lch(75.49, 31.95, 92.82°) |
| OKLab | oklab(78.83% -0.0028 0.0789) |
| OKLCH | oklch(78.83% 0.079 92) |
| XYZ | xyz(46.0825, 49.0692, 27.1184) |
| Luminance | 0.4907 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.70
Sandstone
#C9AE74
ΔE00 3.68
Very Light Brown
#D3B683
ΔE00 4.09
Tan (survey)
#D1B26F
ΔE00 4.11
Toupe
#C7AC7D
ΔE00 5.18
Fawn
#CFAF7B
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB97F #7F92CC
analogous
#CC937F #CCB97F #B8CC7F
triadic
#CCB97F #7FCCB9 #B97FCC
tetradic
#CCB97F #7FCC93 #7F92CC #CC7FB8
square
#CCB97F #7FCC93 #7F92CC #CC7FB8
split-complementary
#CCB97F #7FB8CC #937FCC
monochromatic
#957F3B #BBA153 #CCB97F #DDD1AB #EFE9D7
Accessibility & contrast
On white
1.94
#CCB97F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.81
#CCB97F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB97F
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB97F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB97F | 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)
#C5B77B
Deuteranopia (green-blind)
#CABC81
Tritanopia (blue-blind)
#D7B0AA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #ccb97f; /* rgb */ color: rgb(204, 185, 127); /* oklch */ color: oklch(78.8% 0.079 92.0);
Tailwind
colors: {
custom: {
50: '#ddcda4',
500: '#ccb97f',
950: '#000000',
},
}SCSS
$custom: #ccb97f; $custom-light: #ddcda4; $custom-dark: #000000;
JSON
{
"hex": "#ccb97f",
"rgb": {
"r": 204,
"g": 185,
"b": 127
},
"hsl": {
"h": 45.195,
"s": 43.017,
"l": 64.902
},
"oklch": {
"l": 0.78825,
"c": 0.07894,
"h": 92
},
"luminance": 0.49068
}Semantic roles & 50–950 ramp
primary
#CCB97F
secondary
#C6CDE1
accent
#51B62F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F