#CCBD7A#CCBD7A
#CCBD7A is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.088 H 97.1°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBD7A |
|---|---|
| RGB | rgb(204, 189, 122) |
| HSL | hsl(49, 45%, 64%) |
| HSV | hsv(49, 40%, 80%) |
| CMYK | cmyk(0%, 7.4%, 40.2%, 20%) |
| CIE-LAB | lab(76.46, -4.23, 35.77) |
| CIE-LCH | lch(76.46, 36.02, 96.75°) |
| OKLab | oklab(79.56% -0.0109 0.0876) |
| OKLCH | oklch(79.56% 0.088 97.1) |
| XYZ | xyz(46.6133, 50.6392, 25.7275) |
| Luminance | 0.5064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.91
Sand
#C2B280
ΔE00 4.55
Sand (survey)
#E2CA76
ΔE00 5.13
Tan (survey)
#D1B26F
ΔE00 5.47
Sandstone
#C9AE74
ΔE00 5.66
Desert
#CCAD60
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBD7A #7A89CC
analogous
#CC947A #CCBD7A #B2CC7A
triadic
#CCBD7A #7ACCBD #BD7ACC
tetradic
#CCBD7A #7ACC94 #7A89CC #CC7AB2
square
#CCBD7A #7ACC94 #7A89CC #CC7AB2
split-complementary
#CCBD7A #7AB2CC #947ACC
monochromatic
#938338 #BBA74E #CCBD7A #DDD3A6 #EEE9D2
Accessibility & contrast
On white
1.89
#CCBD7A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.13
#CCBD7A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBD7A
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBD7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBD7A | 1.00 | 1.89 | 11.13 | 11.13 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CABA75
Deuteranopia (green-blind)
#CEBF7C
Tritanopia (blue-blind)
#D8B4AC
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #ccbd7a; /* rgb */ color: rgb(204, 189, 122); /* oklch */ color: oklch(79.6% 0.088 97.1);
Tailwind
colors: {
custom: {
50: '#ddd0a1',
500: '#ccbd7a',
950: '#000000',
},
}SCSS
$custom: #ccbd7a; $custom-light: #ddd0a1; $custom-dark: #000000;
JSON
{
"hex": "#ccbd7a",
"rgb": {
"r": 204,
"g": 189,
"b": 122
},
"hsl": {
"h": 49.024,
"s": 44.565,
"l": 63.922
},
"oklch": {
"l": 0.79562,
"c": 0.08826,
"h": 97.1
},
"luminance": 0.50638
}Semantic roles & 50–950 ramp
primary
#CCBD7A
secondary
#515E9A
accent
#47B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380