#CCBF71#CCBF71
#CCBF71 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.100 H 100.0°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBF71 |
|---|---|
| RGB | rgb(204, 191, 113) |
| HSL | hsl(51, 47%, 62%) |
| HSV | hsv(51, 45%, 80%) |
| CMYK | cmyk(0%, 6.4%, 44.6%, 20%) |
| CIE-LAB | lab(76.86, -6.22, 40.86) |
| CIE-LCH | lch(76.86, 41.34, 98.65°) |
| OKLab | oklab(79.83% -0.0174 0.0987) |
| OKLCH | oklch(79.83% 0.1 100) |
| XYZ | xyz(46.5144, 51.2927, 23.0699) |
| Luminance | 0.5129 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.23
Sand (survey)
#E2CA76
ΔE00 4.59
Sand
#C2B280
ΔE00 6.51
Tan (survey)
#D1B26F
ΔE00 6.69
Desert
#CCAD60
ΔE00 6.80
Greenish Beige
#C9D179
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBF71 #717ECC
analogous
#CC9271 #CCBF71 #ABCC71
triadic
#CCBF71 #71CCBF #BF71CC
tetradic
#CCBF71 #71CC92 #717ECC #CC71AB
square
#CCBF71 #71CC92 #717ECC #CC71AB
split-complementary
#CCBF71 #71ABCC #9271CC
monochromatic
#8F8233 #BCAB44 #CCBF71 #DCD39E #ECE8CB
Accessibility & contrast
On white
1.87
#CCBF71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.26
#CCBF71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBF71
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBF71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBF71 | 1.00 | 1.87 | 11.26 | 11.26 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBB6B
Deuteranopia (green-blind)
#D0C074
Tritanopia (blue-blind)
#D8B5AC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #ccbf71; /* rgb */ color: rgb(204, 191, 113); /* oklch */ color: oklch(79.8% 0.100 100.0);
Tailwind
colors: {
custom: {
50: '#ddd29b',
500: '#ccbf71',
950: '#000000',
},
}SCSS
$custom: #ccbf71; $custom-light: #ddd29b; $custom-dark: #000000;
JSON
{
"hex": "#ccbf71",
"rgb": {
"r": 204,
"g": 191,
"b": 113
},
"hsl": {
"h": 51.429,
"s": 47.15,
"l": 62.157
},
"oklch": {
"l": 0.79834,
"c": 0.10017,
"h": 100
},
"luminance": 0.51291
}Semantic roles & 50–950 ramp
primary
#CCBF71
secondary
#4B5696
accent
#40BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F