#CFBB7F#CFBB7F
#CFBB7F is a light, moderate yellow. Relative luminance 0.503; OKLCH L 79.5% C 0.081 H 91.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CFBB7F |
|---|---|
| RGB | rgb(207, 187, 127) |
| HSL | hsl(45, 45%, 65%) |
| HSV | hsv(45, 39%, 81%) |
| CMYK | cmyk(0%, 9.7%, 38.6%, 18.8%) |
| CIE-LAB | lab(76.28, -1.43, 32.99) |
| CIE-LCH | lch(76.28, 33.02, 92.47°) |
| OKLab | oklab(79.51% -0.0025 0.0814) |
| OKLCH | oklch(79.51% 0.081 91.8) |
| XYZ | xyz(47.3342, 50.3400, 27.2978) |
| Luminance | 0.5034 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.42
Sandstone
#C9AE74
ΔE00 3.95
Tan (survey)
#D1B26F
ΔE00 3.97
Very Light Brown
#D3B683
ΔE00 4.13
Fawn
#CFAF7B
ΔE00 5.40
Desert
#CCAD60
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFBB7F #7F93CF
analogous
#CF937F #CFBB7F #BBCF7F
triadic
#CFBB7F #7FCFBB #BB7FCF
tetradic
#CFBB7F #7FCF93 #7F93CF #CF7FBB
square
#CFBB7F #7FCF93 #7F93CF #CF7FBB
split-complementary
#CFBB7F #7FBBCF #937FCF
monochromatic
#9A823A #BEA352 #CFBB7F #E0D3AC #F0EAD8
Accessibility & contrast
On white
1.90
#CFBB7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.07
#CFBB7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFBB7F
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFBB7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFBB7F | 1.00 | 1.90 | 11.07 | 11.07 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B97B
Deuteranopia (green-blind)
#CDBF81
Tritanopia (blue-blind)
#DBB2AC
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #cfbb7f; /* rgb */ color: rgb(207, 187, 127); /* oklch */ color: oklch(79.5% 0.081 91.8);
Tailwind
colors: {
custom: {
50: '#dfcfa5',
500: '#cfbb7f',
950: '#000000',
},
}SCSS
$custom: #cfbb7f; $custom-light: #dfcfa5; $custom-dark: #000000;
JSON
{
"hex": "#cfbb7f",
"rgb": {
"r": 207,
"g": 187,
"b": 127
},
"hsl": {
"h": 45,
"s": 45.455,
"l": 65.49
},
"oklch": {
"l": 0.79506,
"c": 0.08141,
"h": 91.8
},
"luminance": 0.50338
}Semantic roles & 50–950 ramp
primary
#CFBB7F
secondary
#5366A0
accent
#50B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15130F
muted
#848380