#CFBF7F#CFBF7F
#CFBF7F is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.085 H 95.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CFBF7F |
|---|---|
| RGB | rgb(207, 191, 127) |
| HSL | hsl(48, 45%, 65%) |
| HSV | hsv(48, 39%, 81%) |
| CMYK | cmyk(0%, 7.7%, 38.6%, 18.8%) |
| CIE-LAB | lab(77.32, -3.52, 34.34) |
| CIE-LCH | lch(77.32, 34.52, 95.85°) |
| OKLab | oklab(80.33% -0.0086 0.0845) |
| OKLCH | oklch(80.33% 0.085 95.8) |
| XYZ | xyz(48.1946, 52.0608, 27.5846) |
| Luminance | 0.5206 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.45
Darkkhaki
#BDB76B
ΔE00 4.79
Sand (survey)
#E2CA76
ΔE00 4.97
Tan (survey)
#D1B26F
ΔE00 5.40
Sandstone
#C9AE74
ΔE00 5.60
Very Light Brown
#D3B683
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFBF7F #7F8FCF
analogous
#CF977F #CFBF7F #B7CF7F
triadic
#CFBF7F #7FCFBF #BF7FCF
tetradic
#CFBF7F #7FCF97 #7F8FCF #CF7FB7
square
#CFBF7F #7FCF97 #7F8FCF #CF7FB7
split-complementary
#CFBF7F #7FB7CF #977FCF
monochromatic
#9A873A #BEA952 #CFBF7F #E0D5AC #F0ECD8
Accessibility & contrast
On white
1.84
#CFBF7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.41
#CFBF7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFBF7F
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFBF7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFBF7F | 1.00 | 1.84 | 11.41 | 11.41 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBBC7A
Deuteranopia (green-blind)
#D0C181
Tritanopia (blue-blind)
#DBB6AF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfbf7f; /* rgb */ color: rgb(207, 191, 127); /* oklch */ color: oklch(80.3% 0.085 95.8);
Tailwind
colors: {
custom: {
50: '#dfd2a5',
500: '#cfbf7f',
950: '#000000',
},
}SCSS
$custom: #cfbf7f; $custom-light: #dfd2a5; $custom-dark: #000000;
JSON
{
"hex": "#cfbf7f",
"rgb": {
"r": 207,
"g": 191,
"b": 127
},
"hsl": {
"h": 48,
"s": 45.455,
"l": 65.49
},
"oklch": {
"l": 0.80327,
"c": 0.08492,
"h": 95.8
},
"luminance": 0.52059
}Semantic roles & 50–950 ramp
primary
#CFBF7F
secondary
#5362A0
accent
#49B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380