#B7B786#B7B786
#B7B786 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 76.7% C 0.066 H 107.9°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B786 |
|---|---|
| RGB | rgb(183, 183, 134) |
| HSL | hsl(60, 25%, 62%) |
| HSV | hsv(60, 27%, 72%) |
| CMYK | cmyk(0%, 0%, 26.8%, 28.2%) |
| CIE-LAB | lab(73.32, -7.94, 25.01) |
| CIE-LCH | lch(73.32, 26.24, 107.61°) |
| OKLab | oklab(76.72% -0.0203 0.0629) |
| OKLCH | oklch(76.72% 0.066 107.9) |
| XYZ | xyz(40.7651, 45.6561, 29.2147) |
| Luminance | 0.4566 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.59
Darkkhaki
#BDB76B
ΔE00 5.98
Khaki (survey)
#AAA662
ΔE00 6.68
Bland
#AFA88B
ΔE00 7.24
Sage Green
#9CAF88
ΔE00 7.49
Tan Green
#A9BE70
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B786 #8686B7
analogous
#B79F86 #B7B786 #9FB786
triadic
#B7B786 #86B7B7 #B786B7
tetradic
#B7B786 #86B79F #8686B7 #B7869F
square
#B7B786 #86B79F #8686B7 #B7869F
split-complementary
#B7B786 #869FB7 #9F86B7
monochromatic
#7A7A49 #A0A060 #B7B786 #CECEAC #E5E5D3
Accessibility & contrast
On white
2.07
#B7B786 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#B7B786 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B786
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B786 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B786 | 1.00 | 2.07 | 10.13 | 10.13 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFB383
Deuteranopia (green-blind)
#C0B588
Tritanopia (blue-blind)
#BEB1AA
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b7b786; /* rgb */ color: rgb(183, 183, 134); /* oklch */ color: oklch(76.7% 0.066 107.9);
Tailwind
colors: {
custom: {
50: '#cdcca9',
500: '#b7b786',
950: '#000000',
},
}SCSS
$custom: #b7b786; $custom-light: #cdcca9; $custom-dark: #000000;
JSON
{
"hex": "#b7b786",
"rgb": {
"r": 183,
"g": 183,
"b": 134
},
"hsl": {
"h": 60,
"s": 25.389,
"l": 62.157
},
"oklch": {
"l": 0.76721,
"c": 0.06606,
"h": 107.9
},
"luminance": 0.45655
}Semantic roles & 50–950 ramp
primary
#B7B786
secondary
#C3C3D5
accent
#42A442
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#131310
muted
#82827F