#CCBB7A#CCBB7A
#CCBB7A is a light, moderate yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.086 H 95.2°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBB7A |
|---|---|
| RGB | rgb(204, 187, 122) |
| HSL | hsl(48, 45%, 64%) |
| HSV | hsv(48, 40%, 80%) |
| CMYK | cmyk(0%, 8.3%, 40.2%, 20%) |
| CIE-LAB | lab(75.94, -3.19, 35.10) |
| CIE-LCH | lch(75.94, 35.24, 95.19°) |
| OKLab | oklab(79.15% -0.0079 0.086) |
| OKLCH | oklch(79.15% 0.086 95.2) |
| XYZ | xyz(46.1860, 49.7847, 25.5851) |
| Luminance | 0.4978 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.93
Darkkhaki
#BDB76B
ΔE00 4.41
Tan (survey)
#D1B26F
ΔE00 4.69
Sandstone
#C9AE74
ΔE00 4.80
Sand (survey)
#E2CA76
ΔE00 5.38
Desert
#CCAD60
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBB7A #7A8BCC
analogous
#CC927A #CCBB7A #B4CC7A
triadic
#CCBB7A #7ACCBB #BB7ACC
tetradic
#CCBB7A #7ACC92 #7A8BCC #CC7AB4
square
#CCBB7A #7ACC92 #7A8BCC #CC7AB4
split-complementary
#CCBB7A #7AB4CC #927ACC
monochromatic
#938038 #BBA44E #CCBB7A #DDD2A6 #EEE8D2
Accessibility & contrast
On white
1.92
#CCBB7A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.96
#CCBB7A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBB7A
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBB7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBB7A | 1.00 | 1.92 | 10.96 | 10.96 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B875
Deuteranopia (green-blind)
#CCBE7C
Tritanopia (blue-blind)
#D8B2AB
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #ccbb7a; /* rgb */ color: rgb(204, 187, 122); /* oklch */ color: oklch(79.1% 0.086 95.2);
Tailwind
colors: {
custom: {
50: '#ddcfa1',
500: '#ccbb7a',
950: '#000000',
},
}SCSS
$custom: #ccbb7a; $custom-light: #ddcfa1; $custom-dark: #000000;
JSON
{
"hex": "#ccbb7a",
"rgb": {
"r": 204,
"g": 187,
"b": 122
},
"hsl": {
"h": 47.561,
"s": 44.565,
"l": 63.922
},
"oklch": {
"l": 0.79149,
"c": 0.0864,
"h": 95.2
},
"luminance": 0.49783
}Semantic roles & 50–950 ramp
primary
#CCBB7A
secondary
#C3C8DF
accent
#4AB82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E