#B1A875#B1A875
#B1A875 is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.069 H 99.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A875 |
|---|---|
| RGB | rgb(177, 168, 117) |
| HSL | hsl(51, 28%, 58%) |
| HSV | hsv(51, 34%, 69%) |
| CMYK | cmyk(0%, 5.1%, 33.9%, 30.6%) |
| CIE-LAB | lab(68.49, -4.61, 27.56) |
| CIE-LCH | lch(68.49, 27.95, 99.50°) |
| OKLab | oklab(72.67% -0.0113 0.0685) |
| OKLCH | oklch(72.67% 0.069 99.4) |
| XYZ | xyz(35.3454, 38.6376, 22.4221) |
| Luminance | 0.3864 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.10
Khaki (survey)
#AAA662
ΔE00 4.14
Stone (survey)
#ADA587
ΔE00 5.72
Putty
#BEAE8A
ΔE00 5.77
Bland
#AFA88B
ΔE00 6.01
Darkkhaki
#BDB76B
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A875 #757EB1
analogous
#B18A75 #B1A875 #9CB175
triadic
#B1A875 #75B1A8 #A875B1
tetradic
#B1A875 #75B18A #757EB1 #B1759C
square
#B1A875 #75B18A #757EB1 #B1759C
split-complementary
#B1A875 #759CB1 #8A75B1
monochromatic
#6E663E #958B54 #B1A875 #C7C19C #DDD9C3
Accessibility & contrast
On white
2.41
#B1A875 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#B1A875 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A875
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A875 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A875 | 1.00 | 2.41 | 8.73 | 8.73 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A571
Deuteranopia (green-blind)
#B4A977
Tritanopia (blue-blind)
#BAA19B
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b1a875; /* rgb */ color: rgb(177, 168, 117); /* oklch */ color: oklch(72.7% 0.069 99.4);
Tailwind
colors: {
custom: {
50: '#c9c19d',
500: '#b1a875',
950: '#000000',
},
}SCSS
$custom: #b1a875; $custom-light: #c9c19d; $custom-dark: #000000;
JSON
{
"hex": "#b1a875",
"rgb": {
"r": 177,
"g": 168,
"b": 117
},
"hsl": {
"h": 51,
"s": 27.778,
"l": 57.647
},
"oklch": {
"l": 0.72674,
"c": 0.06947,
"h": 99.4
},
"luminance": 0.38637
}Semantic roles & 50–950 ramp
primary
#B1A875
secondary
#B5B8CD
accent
#72C464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E