#B4B57A#B4B57A
#B4B57A is a light, moderate yellow. Relative luminance 0.442; OKLCH L 75.8% C 0.079 H 109.0°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B57A |
|---|---|
| RGB | rgb(180, 181, 122) |
| HSL | hsl(61, 29%, 59%) |
| HSV | hsv(61, 33%, 71%) |
| CMYK | cmyk(0.6%, 0%, 32.6%, 29%) |
| CIE-LAB | lab(72.33, -9.65, 30.02) |
| CIE-LCH | lch(72.33, 31.53, 107.82°) |
| OKLab | oklab(75.81% -0.0256 0.0744) |
| OKLCH | oklch(75.81% 0.079 109) |
| XYZ | xyz(38.8594, 44.1568, 24.8846) |
| Luminance | 0.4416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.12
Khaki (survey)
#AAA662
ΔE00 4.91
Tan Green
#A9BE70
ΔE00 5.99
Sand
#C2B280
ΔE00 6.08
Light Olive
#ACBF69
ΔE00 6.41
Greenish Tan
#BCCB7A
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B57A #7B7AB5
analogous
#B5997A #B4B57A #97B57A
triadic
#B4B57A #7AB4B5 #B57AB4
tetradic
#B4B57A #7AB599 #7B7AB5 #B57A97
square
#B4B57A #7AB599 #7B7AB5 #B57A97
split-complementary
#B4B57A #7A97B5 #997AB5
monochromatic
#737441 #9A9B56 #B4B57A #CACBA1 #E0E1C9
Accessibility & contrast
On white
2.14
#B4B57A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#B4B57A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B57A
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B57A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B57A | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEB076
Deuteranopia (green-blind)
#BFB27C
Tritanopia (blue-blind)
#BCAEA6
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b57a; /* rgb */ color: rgb(180, 181, 122); /* oklch */ color: oklch(75.8% 0.079 109.0);
Tailwind
colors: {
custom: {
50: '#cbcba1',
500: '#b4b57a',
950: '#000000',
},
}SCSS
$custom: #b4b57a; $custom-light: #cbcba1; $custom-dark: #000000;
JSON
{
"hex": "#b4b57a",
"rgb": {
"r": 180,
"g": 181,
"b": 122
},
"hsl": {
"h": 61.017,
"s": 28.502,
"l": 59.412
},
"oklch": {
"l": 0.75809,
"c": 0.07871,
"h": 109
},
"luminance": 0.44156
}Semantic roles & 50–950 ramp
primary
#B4B57A
secondary
#BABAD1
accent
#63C565
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130F
muted
#82827E