#B4A86E#B4A86E
#B4A86E is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.078 H 97.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A86E |
|---|---|
| RGB | rgb(180, 168, 110) |
| HSL | hsl(50, 32%, 57%) |
| HSV | hsv(50, 39%, 71%) |
| CMYK | cmyk(0%, 6.7%, 38.9%, 29.4%) |
| CIE-LAB | lab(68.63, -4.24, 31.54) |
| CIE-LCH | lch(68.63, 31.82, 97.65°) |
| OKLab | oklab(72.81% -0.0108 0.0775) |
| OKLCH | oklch(72.81% 0.078 97.9) |
| XYZ | xyz(35.6402, 38.8354, 20.3674) |
| Luminance | 0.3883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.50
Sand
#C2B280
ΔE00 4.03
Darkkhaki
#BDB76B
ΔE00 5.36
Sandstone
#C9AE74
ΔE00 5.59
Sandy Brown
#C4A661
ΔE00 5.90
Putty
#BEAE8A
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A86E #6E7AB4
analogous
#B4856E #B4A86E #9DB46E
triadic
#B4A86E #6EB4A8 #A86EB4
tetradic
#B4A86E #6EB485 #6E7AB4 #B46E9D
square
#B4A86E #6EB485 #6E7AB4 #B46E9D
split-complementary
#B4A86E #6E9DB4 #856EB4
monochromatic
#6E6539 #978A4E #B4A86E #C9C096 #DED8BF
Accessibility & contrast
On white
2.40
#B4A86E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#B4A86E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A86E
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A86E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A86E | 1.00 | 2.40 | 8.77 | 8.77 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A56A
Deuteranopia (green-blind)
#B6A970
Tritanopia (blue-blind)
#BEA099
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b4a86e; /* rgb */ color: rgb(180, 168, 110); /* oklch */ color: oklch(72.8% 0.078 97.9);
Tailwind
colors: {
custom: {
50: '#cbc198',
500: '#b4a86e',
950: '#000000',
},
}SCSS
$custom: #b4a86e; $custom-light: #cbc198; $custom-dark: #000000;
JSON
{
"hex": "#b4a86e",
"rgb": {
"r": 180,
"g": 168,
"b": 110
},
"hsl": {
"h": 49.714,
"s": 31.818,
"l": 56.863
},
"oklch": {
"l": 0.72813,
"c": 0.07826,
"h": 97.9
},
"luminance": 0.38834
}Semantic roles & 50–950 ramp
primary
#B4A86E
secondary
#B1B6CD
accent
#72C860
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#13120E
muted
#82817E