#CCBF6F#CCBF6F
#CCBF6F is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.102 H 100.2°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBF6F |
|---|---|
| RGB | rgb(204, 191, 111) |
| HSL | hsl(52, 48%, 62%) |
| HSV | hsv(52, 46%, 80%) |
| CMYK | cmyk(0%, 6.4%, 45.6%, 20%) |
| CIE-LAB | lab(76.83, -6.42, 41.84) |
| CIE-LCH | lch(76.83, 42.33, 98.72°) |
| OKLab | oklab(79.8% -0.0182 0.1007) |
| OKLCH | oklch(79.8% 0.102 100.2) |
| XYZ | xyz(46.4031, 51.2482, 22.4834) |
| Luminance | 0.5125 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.26
Sand (survey)
#E2CA76
ΔE00 4.56
Greenish Beige
#C9D179
ΔE00 6.78
Sand
#C2B280
ΔE00 6.79
Tan (survey)
#D1B26F
ΔE00 6.83
Desert
#CCAD60
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBF6F #6F7CCC
analogous
#CC916F #CCBF6F #ABCC6F
triadic
#CCBF6F #6FCCBF #BF6FCC
tetradic
#CCBF6F #6FCC91 #6F7CCC #CC6FAB
square
#CCBF6F #6FCC91 #6F7CCC #CC6FAB
split-complementary
#CCBF6F #6FABCC #916FCC
monochromatic
#8E8132 #BBAB42 #CCBF6F #DCD39C #ECE7C9
Accessibility & contrast
On white
1.87
#CCBF6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.25
#CCBF6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBF6F
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBF6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBF6F | 1.00 | 1.87 | 11.25 | 11.25 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBB68
Deuteranopia (green-blind)
#D0C072
Tritanopia (blue-blind)
#D8B5AC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #ccbf6f; /* rgb */ color: rgb(204, 191, 111); /* oklch */ color: oklch(79.8% 0.102 100.2);
Tailwind
colors: {
custom: {
50: '#ddd29a',
500: '#ccbf6f',
950: '#000000',
},
}SCSS
$custom: #ccbf6f; $custom-light: #ddd29a; $custom-dark: #000000;
JSON
{
"hex": "#ccbf6f",
"rgb": {
"r": 204,
"g": 191,
"b": 111
},
"hsl": {
"h": 51.613,
"s": 47.692,
"l": 61.765
},
"oklch": {
"l": 0.79804,
"c": 0.10232,
"h": 100.2
},
"luminance": 0.51247
}Semantic roles & 50–950 ramp
primary
#CCBF6F
secondary
#4A5595
accent
#3FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F