#CCBF79#CCBF79
#CCBF79 is a light, moderate yellow. Relative luminance 0.515; OKLCH L 80.0% C 0.091 H 99.0°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBF79 |
|---|---|
| RGB | rgb(204, 191, 121) |
| HSL | hsl(51, 45%, 64%) |
| HSV | hsv(51, 41%, 80%) |
| CMYK | cmyk(0%, 6.4%, 40.7%, 20%) |
| CIE-LAB | lab(76.97, -5.39, 36.94) |
| CIE-LCH | lch(76.97, 37.33, 98.29°) |
| OKLab | oklab(79.96% -0.0143 0.0902) |
| OKLCH | oklch(79.96% 0.091 99) |
| XYZ | xyz(46.9848, 51.4809, 25.5473) |
| Luminance | 0.5148 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.50
Sand (survey)
#E2CA76
ΔE00 4.95
Sand
#C2B280
ΔE00 5.36
Tan (survey)
#D1B26F
ΔE00 6.29
Sandstone
#C9AE74
ΔE00 6.58
Desert
#CCAD60
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBF79 #7986CC
analogous
#CC9579 #CCBF79 #AFCC79
triadic
#CCBF79 #79CCBF #BF79CC
tetradic
#CCBF79 #79CC95 #7986CC #CC79AF
square
#CCBF79 #79CC95 #7986CC #CC79AF
split-complementary
#CCBF79 #79AFCC #9579CC
monochromatic
#938538 #BBAA4D #CCBF79 #DDD4A5 #EEE9D2
Accessibility & contrast
On white
1.86
#CCBF79 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.30
#CCBF79 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBF79
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBF79 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBF79 | 1.00 | 1.86 | 11.30 | 11.30 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBB74
Deuteranopia (green-blind)
#CFC07C
Tritanopia (blue-blind)
#D8B6AE
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #ccbf79; /* rgb */ color: rgb(204, 191, 121); /* oklch */ color: oklch(80.0% 0.091 99.0);
Tailwind
colors: {
custom: {
50: '#ddd2a0',
500: '#ccbf79',
950: '#000000',
},
}SCSS
$custom: #ccbf79; $custom-light: #ddd2a0; $custom-dark: #000000;
JSON
{
"hex": "#ccbf79",
"rgb": {
"r": 204,
"g": 191,
"b": 121
},
"hsl": {
"h": 50.602,
"s": 44.865,
"l": 63.725
},
"oklch": {
"l": 0.7996,
"c": 0.09133,
"h": 99
},
"luminance": 0.51479
}Semantic roles & 50–950 ramp
primary
#CCBF79
secondary
#505B99
accent
#43B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380