#B1A159#B1A159
#B1A159 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.095 H 97.1°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A159 |
|---|---|
| RGB | rgb(177, 161, 89) |
| HSL | hsl(49, 36%, 52%) |
| HSV | hsv(49, 50%, 69%) |
| CMYK | cmyk(0%, 9%, 49.7%, 30.6%) |
| CIE-LAB | lab(66.18, -3.95, 39.35) |
| CIE-LCH | lch(66.18, 39.54, 95.73°) |
| OKLab | oklab(70.71% -0.0117 0.0939) |
| OKLCH | oklch(70.71% 0.095 97.1) |
| XYZ | xyz(32.6805, 35.5594, 14.5915) |
| Luminance | 0.3556 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.97
Sandy Brown
#C4A661
ΔE00 5.15
Desert
#CCAD60
ΔE00 6.26
Dark Khaki
#9B8F55
ΔE00 6.49
Darkkhaki
#BDB76B
ΔE00 6.54
Sandstone
#C9AE74
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A159 #5969B1
analogous
#B17559 #B1A159 #95B159
triadic
#B1A159 #59B1A1 #A159B1
tetradic
#B1A159 #59B175 #5969B1 #B15995
square
#B1A159 #59B175 #5969B1 #B15995
split-complementary
#B1A159 #5995B1 #7559B1
monochromatic
#62582E #8B7E41 #B1A159 #C5B983 #D8D0AC
Accessibility & contrast
On white
2.59
#B1A159 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#B1A159 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A159
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A159 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A159 | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9E53
Deuteranopia (green-blind)
#B2A35C
Tritanopia (blue-blind)
#BD9890
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b1a159; /* rgb */ color: rgb(177, 161, 89); /* oklch */ color: oklch(70.7% 0.095 97.1);
Tailwind
colors: {
custom: {
50: '#cabc89',
500: '#b1a159',
950: '#000000',
},
}SCSS
$custom: #b1a159; $custom-light: #cabc89; $custom-dark: #000000;
JSON
{
"hex": "#b1a159",
"rgb": {
"r": 177,
"g": 161,
"b": 89
},
"hsl": {
"h": 49.091,
"s": 36.066,
"l": 52.157
},
"oklch": {
"l": 0.70713,
"c": 0.09463,
"h": 97.1
},
"luminance": 0.35558
}Semantic roles & 50–950 ramp
primary
#B1A159
secondary
#A0A7C6
accent
#70CC5C
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D