#B1A459#B1A459
#B1A459 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.097 H 99.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A459 |
|---|---|
| RGB | rgb(177, 164, 89) |
| HSL | hsl(51, 36%, 52%) |
| HSV | hsv(51, 50%, 69%) |
| CMYK | cmyk(0%, 7.3%, 49.7%, 30.6%) |
| CIE-LAB | lab(66.99, -5.55, 40.33) |
| CIE-LCH | lch(66.99, 40.71, 97.84°) |
| OKLab | oklab(71.35% -0.0164 0.0961) |
| OKLCH | oklch(71.35% 0.097 99.7) |
| XYZ | xyz(33.2111, 36.6205, 14.7683) |
| Luminance | 0.3662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.13
Darkkhaki
#BDB76B
ΔE00 5.47
Sandy Brown
#C4A661
ΔE00 5.90
Desert
#CCAD60
ΔE00 6.59
Sand
#C2B280
ΔE00 7.07
Sandstone
#C9AE74
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A459 #5966B1
analogous
#B17859 #B1A459 #92B159
triadic
#B1A459 #59B1A4 #A459B1
tetradic
#B1A459 #59B178 #5966B1 #B15992
square
#B1A459 #59B178 #5966B1 #B15992
split-complementary
#B1A459 #5992B1 #7859B1
monochromatic
#625A2E #8B8041 #B1A459 #C5BB83 #D8D2AC
Accessibility & contrast
On white
2.52
#B1A459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#B1A459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A459
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A459 | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A053
Deuteranopia (green-blind)
#B4A55C
Tritanopia (blue-blind)
#BC9B92
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b1a459; /* rgb */ color: rgb(177, 164, 89); /* oklch */ color: oklch(71.4% 0.097 99.7);
Tailwind
colors: {
custom: {
50: '#cabe89',
500: '#b1a459',
950: '#000000',
},
}SCSS
$custom: #b1a459; $custom-light: #cabe89; $custom-dark: #000000;
JSON
{
"hex": "#b1a459",
"rgb": {
"r": 177,
"g": 164,
"b": 89
},
"hsl": {
"h": 51.136,
"s": 36.066,
"l": 52.157
},
"oklch": {
"l": 0.71354,
"c": 0.09746,
"h": 99.7
},
"luminance": 0.36619
}Semantic roles & 50–950 ramp
primary
#B1A459
secondary
#A0A5C6
accent
#6CCC5C
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D