#CCB96F#CCB96F
#CCB96F is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.097 H 95.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB96F |
|---|---|
| RGB | rgb(204, 185, 111) |
| HSL | hsl(48, 48%, 62%) |
| HSV | hsv(48, 46%, 80%) |
| CMYK | cmyk(0%, 9.3%, 45.6%, 20%) |
| CIE-LAB | lab(75.25, -3.29, 39.88) |
| CIE-LCH | lch(75.25, 40.01, 94.72°) |
| OKLab | oklab(78.56% -0.0091 0.0963) |
| OKLCH | oklch(78.56% 0.097 95.4) |
| XYZ | xyz(45.1213, 48.6847, 22.0561) |
| Luminance | 0.4868 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.15
Tan (survey)
#D1B26F
ΔE00 4.40
Desert
#CCAD60
ΔE00 4.54
Sand (survey)
#E2CA76
ΔE00 4.88
Sandstone
#C9AE74
ΔE00 5.06
Sand
#C2B280
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB96F #6F82CC
analogous
#CC8B6F #CCB96F #B1CC6F
triadic
#CCB96F #6FCCB9 #B96FCC
tetradic
#CCB96F #6FCC8B #6F82CC #CC6FB1
square
#CCB96F #6FCC8B #6F82CC #CC6FB1
split-complementary
#CCB96F #6FB1CC #8B6FCC
monochromatic
#8E7B32 #BBA342 #CCB96F #DCCF9C #ECE5C9
Accessibility & contrast
On white
1.96
#CCB96F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.74
#CCB96F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB96F
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB96F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB96F | 1.00 | 1.96 | 10.74 | 10.74 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B669
Deuteranopia (green-blind)
#CCBC72
Tritanopia (blue-blind)
#D9AFA7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #ccb96f; /* rgb */ color: rgb(204, 185, 111); /* oklch */ color: oklch(78.6% 0.097 95.4);
Tailwind
colors: {
custom: {
50: '#ddcd99',
500: '#ccb96f',
950: '#000000',
},
}SCSS
$custom: #ccb96f; $custom-light: #ddcd99; $custom-dark: #000000;
JSON
{
"hex": "#ccb96f",
"rgb": {
"r": 204,
"g": 185,
"b": 111
},
"hsl": {
"h": 47.742,
"s": 47.692,
"l": 61.765
},
"oklch": {
"l": 0.78558,
"c": 0.09674,
"h": 95.4
},
"luminance": 0.48683
}Semantic roles & 50–950 ramp
primary
#CCB96F
secondary
#BAC1DD
accent
#48BB2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E