#CCBD71#CCBD71
#CCBD71 is a light, moderate yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.098 H 98.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBD71 |
|---|---|
| RGB | rgb(204, 189, 113) |
| HSL | hsl(50, 47%, 62%) |
| HSV | hsv(50, 45%, 80%) |
| CMYK | cmyk(0%, 7.4%, 44.6%, 20%) |
| CIE-LAB | lab(76.33, -5.18, 40.21) |
| CIE-LCH | lch(76.33, 40.54, 97.34°) |
| OKLab | oklab(79.42% -0.0144 0.0972) |
| OKLCH | oklch(79.42% 0.098 98.4) |
| XYZ | xyz(46.0812, 50.4264, 22.9255) |
| Luminance | 0.5042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.38
Sand (survey)
#E2CA76
ΔE00 4.58
Tan (survey)
#D1B26F
ΔE00 5.89
Sand
#C2B280
ΔE00 5.92
Desert
#CCAD60
ΔE00 6.04
Sandstone
#C9AE74
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBD71 #7180CC
analogous
#CC9071 #CCBD71 #AECC71
triadic
#CCBD71 #71CCBD #BD71CC
tetradic
#CCBD71 #71CC90 #7180CC #CC71AE
square
#CCBD71 #71CC90 #7180CC #CC71AE
split-complementary
#CCBD71 #71AECC #9071CC
monochromatic
#8F8033 #BCA844 #CCBD71 #DCD29E #ECE7CB
Accessibility & contrast
On white
1.89
#CCBD71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.09
#CCBD71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBD71
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBD71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBD71 | 1.00 | 1.89 | 11.09 | 11.09 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB96B
Deuteranopia (green-blind)
#CFBF74
Tritanopia (blue-blind)
#D8B3AB
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #ccbd71; /* rgb */ color: rgb(204, 189, 113); /* oklch */ color: oklch(79.4% 0.098 98.4);
Tailwind
colors: {
custom: {
50: '#ddd09b',
500: '#ccbd71',
950: '#000000',
},
}SCSS
$custom: #ccbd71; $custom-light: #ddd09b; $custom-dark: #000000;
JSON
{
"hex": "#ccbd71",
"rgb": {
"r": 204,
"g": 189,
"b": 113
},
"hsl": {
"h": 50.11,
"s": 47.15,
"l": 62.157
},
"oklch": {
"l": 0.79417,
"c": 0.09824,
"h": 98.4
},
"luminance": 0.50425
}Semantic roles & 50–950 ramp
primary
#CCBD71
secondary
#4B5896
accent
#43BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F