#B4B372#B4B372
#B4B372 is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.2% C 0.086 H 107.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B372 |
|---|---|
| RGB | rgb(180, 179, 114) |
| HSL | hsl(59, 31%, 58%) |
| HSV | hsv(59, 37%, 71%) |
| CMYK | cmyk(0%, 0.6%, 36.7%, 29.4%) |
| CIE-LAB | lab(71.66, -9.58, 33.35) |
| CIE-LCH | lch(71.66, 34.70, 106.03°) |
| OKLab | oklab(75.24% -0.0259 0.0819) |
| OKLCH | oklch(75.24% 0.086 107.5) |
| XYZ | xyz(37.9802, 43.1592, 22.2461) |
| Luminance | 0.4316 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.90
Khaki (survey)
#AAA662
ΔE00 3.83
Sand
#C2B280
ΔE00 6.06
Tan Green
#A9BE70
ΔE00 6.16
Light Olive
#ACBF69
ΔE00 6.23
Greenish Tan
#BCCB7A
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B372 #7273B4
analogous
#B49272 #B4B372 #94B472
triadic
#B4B372 #72B4B3 #B372B4
tetradic
#B4B372 #72B492 #7273B4 #B47294
square
#B4B372 #72B492 #7273B4 #B47294
split-complementary
#B4B372 #7294B4 #9272B4
monochromatic
#706F3C #989751 #B4B372 #C9C99A #DFDEC2
Accessibility & contrast
On white
2.18
#B4B372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#B4B372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B372
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B372 | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAE6D
Deuteranopia (green-blind)
#BEB175
Tritanopia (blue-blind)
#BDABA3
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b4b372; /* rgb */ color: rgb(180, 179, 114); /* oklch */ color: oklch(75.2% 0.086 107.5);
Tailwind
colors: {
custom: {
50: '#cbc99b',
500: '#b4b372',
950: '#000000',
},
}SCSS
$custom: #b4b372; $custom-light: #cbc99b; $custom-dark: #000000;
JSON
{
"hex": "#b4b372",
"rgb": {
"r": 180,
"g": 179,
"b": 114
},
"hsl": {
"h": 59.091,
"s": 30.556,
"l": 57.647
},
"oklch": {
"l": 0.75235,
"c": 0.08584,
"h": 107.5
},
"luminance": 0.43158
}Semantic roles & 50–950 ramp
primary
#B4B372
secondary
#B4B4CE
accent
#63C761
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E