#CCBB7F#CCBB7F
#CCBB7F is a light, moderate yellow. Relative luminance 0.499; OKLCH L 79.2% C 0.081 H 94.2°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBB7F |
|---|---|
| RGB | rgb(204, 187, 127) |
| HSL | hsl(47, 43%, 65%) |
| HSV | hsv(47, 38%, 80%) |
| CMYK | cmyk(0%, 8.3%, 37.7%, 20%) |
| CIE-LAB | lab(76.02, -2.63, 32.60) |
| CIE-LCH | lch(76.02, 32.70, 94.60°) |
| OKLab | oklab(79.24% -0.0059 0.0805) |
| OKLCH | oklch(79.24% 0.081 94.2) |
| XYZ | xyz(46.5038, 49.9118, 27.2589) |
| Luminance | 0.4991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.19
Sandstone
#C9AE74
ΔE00 4.51
Tan (survey)
#D1B26F
ΔE00 4.74
Very Light Brown
#D3B683
ΔE00 4.96
Darkkhaki
#BDB76B
ΔE00 5.08
Desert
#CCAD60
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBB7F #7F90CC
analogous
#CC947F #CCBB7F #B7CC7F
triadic
#CCBB7F #7FCCBB #BB7FCC
tetradic
#CCBB7F #7FCC94 #7F90CC #CC7FB7
square
#CCBB7F #7FCC94 #7F90CC #CC7FB7
split-complementary
#CCBB7F #7FB7CC #947FCC
monochromatic
#95813B #BBA453 #CCBB7F #DDD2AB #EFE9D7
Accessibility & contrast
On white
1.91
#CCBB7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.98
#CCBB7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBB7F
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBB7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBB7F | 1.00 | 1.91 | 10.98 | 10.98 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B87B
Deuteranopia (green-blind)
#CCBE81
Tritanopia (blue-blind)
#D7B2AC
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #ccbb7f; /* rgb */ color: rgb(204, 187, 127); /* oklch */ color: oklch(79.2% 0.081 94.2);
Tailwind
colors: {
custom: {
50: '#ddcfa4',
500: '#ccbb7f',
950: '#000000',
},
}SCSS
$custom: #ccbb7f; $custom-light: #ddcfa4; $custom-dark: #000000;
JSON
{
"hex": "#ccbb7f",
"rgb": {
"r": 204,
"g": 187,
"b": 127
},
"hsl": {
"h": 46.753,
"s": 43.017,
"l": 64.902
},
"oklch": {
"l": 0.79236,
"c": 0.08069,
"h": 94.2
},
"luminance": 0.4991
}Semantic roles & 50–950 ramp
primary
#CCBB7F
secondary
#C6CCE1
accent
#4DB62F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F