#B7B56F#B7B56F
#B7B56F is a light, moderate yellow. Relative luminance 0.443; OKLCH L 75.9% C 0.092 H 107.0°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B56F |
|---|---|
| RGB | rgb(183, 181, 111) |
| HSL | hsl(58, 33%, 58%) |
| HSV | hsv(58, 39%, 72%) |
| CMYK | cmyk(0%, 1.1%, 39.3%, 28.2%) |
| CIE-LAB | lab(72.40, -9.76, 35.91) |
| CIE-LCH | lch(72.40, 37.21, 105.20°) |
| OKLab | oklab(75.87% -0.0267 0.0875) |
| OKLCH | oklch(75.87% 0.092 107) |
| XYZ | xyz(38.9221, 44.2636, 21.5292) |
| Luminance | 0.4426 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.80
Khaki (survey)
#AAA662
ΔE00 4.22
Light Olive
#ACBF69
ΔE00 5.92
Tan Green
#A9BE70
ΔE00 6.15
Sand
#C2B280
ΔE00 6.31
Greenish Tan
#BCCB7A
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B56F #6F71B7
analogous
#B7916F #B7B56F #95B76F
triadic
#B7B56F #6FB7B5 #B56FB7
tetradic
#B7B56F #6FB791 #6F71B7 #B76F95
square
#B7B56F #6FB791 #6F71B7 #B76F95
split-complementary
#B7B56F #6F95B7 #916FB7
monochromatic
#727139 #9B994E #B7B56F #CBCA98 #E0DFC1
Accessibility & contrast
On white
2.13
#B7B56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#B7B56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B56F
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B56F | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0B06A
Deuteranopia (green-blind)
#C1B372
Tritanopia (blue-blind)
#C1ADA4
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b7b56f; /* rgb */ color: rgb(183, 181, 111); /* oklch */ color: oklch(75.9% 0.092 107.0);
Tailwind
colors: {
custom: {
50: '#cecb99',
500: '#b7b56f',
950: '#000000',
},
}SCSS
$custom: #b7b56f; $custom-light: #cecb99; $custom-dark: #000000;
JSON
{
"hex": "#b7b56f",
"rgb": {
"r": 183,
"g": 181,
"b": 111
},
"hsl": {
"h": 58.333,
"s": 33.333,
"l": 57.647
},
"oklch": {
"l": 0.75869,
"c": 0.09153,
"h": 107
},
"luminance": 0.44263
}Semantic roles & 50–950 ramp
primary
#B7B56F
secondary
#B2B3CF
accent
#61C95E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E