#CCBA6F#CCBA6F
#CCBA6F is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.098 H 96.3°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBA6F |
|---|---|
| RGB | rgb(204, 186, 111) |
| HSL | hsl(48, 48%, 62%) |
| HSV | hsv(48, 46%, 80%) |
| CMYK | cmyk(0%, 8.8%, 45.6%, 20%) |
| CIE-LAB | lab(75.52, -3.82, 40.20) |
| CIE-LCH | lch(75.52, 40.38, 95.42°) |
| OKLab | oklab(78.77% -0.0106 0.097) |
| OKLCH | oklch(78.77% 0.098 96.3) |
| XYZ | xyz(45.3312, 49.1045, 22.1261) |
| Luminance | 0.4910 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.90
Sand (survey)
#E2CA76
ΔE00 4.74
Tan (survey)
#D1B26F
ΔE00 4.81
Desert
#CCAD60
ΔE00 4.92
Sand
#C2B280
ΔE00 5.44
Sandstone
#C9AE74
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBA6F #6F81CC
analogous
#CC8C6F #CCBA6F #B0CC6F
triadic
#CCBA6F #6FCCBA #BA6FCC
tetradic
#CCBA6F #6FCC8C #6F81CC #CC6FB0
square
#CCBA6F #6FCC8C #6F81CC #CC6FB0
split-complementary
#CCBA6F #6FB0CC #8C6FCC
monochromatic
#8E7C32 #BBA442 #CCBA6F #DCD09C #ECE5C9
Accessibility & contrast
On white
1.94
#CCBA6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.82
#CCBA6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBA6F
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBA6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBA6F | 1.00 | 1.94 | 10.82 | 10.82 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B769
Deuteranopia (green-blind)
#CDBD72
Tritanopia (blue-blind)
#D9B0A8
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #ccba6f; /* rgb */ color: rgb(204, 186, 111); /* oklch */ color: oklch(78.8% 0.098 96.3);
Tailwind
colors: {
custom: {
50: '#ddce99',
500: '#ccba6f',
950: '#000000',
},
}SCSS
$custom: #ccba6f; $custom-light: #ddce99; $custom-dark: #000000;
JSON
{
"hex": "#ccba6f",
"rgb": {
"r": 204,
"g": 186,
"b": 111
},
"hsl": {
"h": 48.387,
"s": 47.692,
"l": 61.765
},
"oklch": {
"l": 0.78765,
"c": 0.09762,
"h": 96.3
},
"luminance": 0.49103
}Semantic roles & 50–950 ramp
primary
#CCBA6F
secondary
#BAC1DD
accent
#46BB2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E