#CCB771#CCB771
#CCB771 is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.2% C 0.093 H 93.3°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB771 |
|---|---|
| RGB | rgb(204, 183, 113) |
| HSL | hsl(46, 47%, 62%) |
| HSV | hsv(46, 45%, 80%) |
| CMYK | cmyk(0%, 10.3%, 44.6%, 20%) |
| CIE-LAB | lab(74.76, -2.04, 38.24) |
| CIE-LCH | lch(74.76, 38.29, 93.06°) |
| OKLab | oklab(78.18% -0.0053 0.0927) |
| OKLCH | oklch(78.18% 0.093 93.3) |
| XYZ | xyz(44.8172, 47.8983, 22.5041) |
| Luminance | 0.4790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Tan (survey)
#D1B26F
ΔE00 3.42
Desert
#CCAD60
ΔE00 3.88
Sandstone
#C9AE74
ΔE00 3.98
Sand
#C2B280
ΔE00 4.49
Darkkhaki
#BDB76B
ΔE00 4.85
Sandy Brown
#C4A661
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB771 #7186CC
analogous
#CC8A71 #CCB771 #B3CC71
triadic
#CCB771 #71CCB7 #B771CC
tetradic
#CCB771 #71CC8A #7186CC #CC71B3
square
#CCB771 #71CC8A #7186CC #CC71B3
split-complementary
#CCB771 #71B3CC #8A71CC
monochromatic
#8F7A33 #BCA044 #CCB771 #DCCE9E #ECE5CB
Accessibility & contrast
On white
1.98
#CCB771 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.58
#CCB771 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB771
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB771 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB771 | 1.00 | 1.98 | 10.58 | 10.58 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B46C
Deuteranopia (green-blind)
#CABB74
Tritanopia (blue-blind)
#D9ADA6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #ccb771; /* rgb */ color: rgb(204, 183, 113); /* oklch */ color: oklch(78.2% 0.093 93.3);
Tailwind
colors: {
custom: {
50: '#ddcc9b',
500: '#ccb771',
950: '#000000',
},
}SCSS
$custom: #ccb771; $custom-light: #ddcc9b; $custom-dark: #000000;
JSON
{
"hex": "#ccb771",
"rgb": {
"r": 204,
"g": 183,
"b": 113
},
"hsl": {
"h": 46.154,
"s": 47.15,
"l": 62.157
},
"oklch": {
"l": 0.78177,
"c": 0.09288,
"h": 93.3
},
"luminance": 0.47897
}Semantic roles & 50–950 ramp
primary
#CCB771
secondary
#BCC3DD
accent
#4CBA2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E