#B3A157#B3A157
#B3A157 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.097 H 96.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A157 |
|---|---|
| RGB | rgb(179, 161, 87) |
| HSL | hsl(48, 38%, 52%) |
| HSV | hsv(48, 51%, 70%) |
| CMYK | cmyk(0%, 10.1%, 51.4%, 29.8%) |
| CIE-LAB | lab(66.34, -3.28, 40.59) |
| CIE-LCH | lch(66.34, 40.73, 94.62°) |
| OKLab | oklab(70.87% -0.0102 0.0965) |
| OKLCH | oklch(70.87% 0.097 96) |
| XYZ | xyz(33.0567, 35.7629, 14.1767) |
| Luminance | 0.3576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.62
Sandy Brown
#C4A661
ΔE00 4.65
Desert
#CCAD60
ΔE00 5.75
Sandstone
#C9AE74
ΔE00 6.52
Darkkhaki
#BDB76B
ΔE00 6.76
Dark Khaki
#9B8F55
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A157 #5769B3
analogous
#B37357 #B3A157 #97B357
triadic
#B3A157 #57B3A1 #A157B3
tetradic
#B3A157 #57B373 #5769B3 #B35797
square
#B3A157 #57B373 #5769B3 #B35797
split-complementary
#B3A157 #5797B3 #7357B3
monochromatic
#63582D #8D7E40 #B3A157 #C6B981 #D9D0AB
Accessibility & contrast
On white
2.58
#B3A157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#B3A157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A157
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A157 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9E51
Deuteranopia (green-blind)
#B3A45A
Tritanopia (blue-blind)
#BF9790
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b3a157; /* rgb */ color: rgb(179, 161, 87); /* oklch */ color: oklch(70.9% 0.097 96.0);
Tailwind
colors: {
custom: {
50: '#ccbc88',
500: '#b3a157',
950: '#000000',
},
}SCSS
$custom: #b3a157; $custom-light: #ccbc88; $custom-dark: #000000;
JSON
{
"hex": "#b3a157",
"rgb": {
"r": 179,
"g": 161,
"b": 87
},
"hsl": {
"h": 48.261,
"s": 37.705,
"l": 52.157
},
"oklch": {
"l": 0.70871,
"c": 0.09699,
"h": 96
},
"luminance": 0.35762
}Semantic roles & 50–950 ramp
primary
#B3A157
secondary
#9FA7C7
accent
#71CE5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C