#B3A257#B3A257
#B3A257 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.098 H 96.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A257 |
|---|---|
| RGB | rgb(179, 162, 87) |
| HSL | hsl(49, 38%, 52%) |
| HSV | hsv(49, 51%, 70%) |
| CMYK | cmyk(0%, 9.5%, 51.4%, 29.8%) |
| CIE-LAB | lab(66.61, -3.82, 40.92) |
| CIE-LCH | lch(66.61, 41.10, 95.33°) |
| OKLab | oklab(71.08% -0.0117 0.0972) |
| OKLCH | oklch(71.08% 0.098 96.9) |
| XYZ | xyz(33.2321, 36.1138, 14.2351) |
| Luminance | 0.3611 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.32
Sandy Brown
#C4A661
ΔE00 4.88
Desert
#CCAD60
ΔE00 5.82
Darkkhaki
#BDB76B
ΔE00 6.38
Sandstone
#C9AE74
ΔE00 6.64
Dark Khaki
#9B8F55
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A257 #5768B3
analogous
#B37457 #B3A257 #96B357
triadic
#B3A257 #57B3A2 #A257B3
tetradic
#B3A257 #57B374 #5768B3 #B35796
square
#B3A257 #57B374 #5768B3 #B35796
split-complementary
#B3A257 #5796B3 #7457B3
monochromatic
#63592D #8D7F40 #B3A257 #C6B981 #D9D1AB
Accessibility & contrast
On white
2.55
#B3A257 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#B3A257 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A257
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A257 | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9F50
Deuteranopia (green-blind)
#B4A55A
Tritanopia (blue-blind)
#BF9890
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b3a257; /* rgb */ color: rgb(179, 162, 87); /* oklch */ color: oklch(71.1% 0.098 96.9);
Tailwind
colors: {
custom: {
50: '#ccbd88',
500: '#b3a257',
950: '#000000',
},
}SCSS
$custom: #b3a257; $custom-light: #ccbd88; $custom-dark: #000000;
JSON
{
"hex": "#b3a257",
"rgb": {
"r": 179,
"g": 162,
"b": 87
},
"hsl": {
"h": 48.913,
"s": 37.705,
"l": 52.157
},
"oklch": {
"l": 0.71084,
"c": 0.09787,
"h": 96.9
},
"luminance": 0.36112
}Semantic roles & 50–950 ramp
primary
#B3A257
secondary
#9FA6C7
accent
#6FCE5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C