#B1A771#B1A771

#B1A771 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.073 H 99.0°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B1A771
RGBrgb(177, 167, 113)
HSLhsl(51, 29%, 57%)
HSVhsv(51, 36%, 69%)
CMYKcmyk(0%, 5.6%, 36.2%, 30.6%)
CIE-LABlab(68.15, -4.57, 29.26)
CIE-LCHlch(68.15, 29.62, 98.88°)
OKLaboklab(72.39% -0.0114 0.0724)
OKLCHoklch(72.39% 0.073 99)
XYZxyz(34.9313, 38.1777, 21.1485)
Luminance0.3818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A771 #717BB1
analogous
#B18771 #B1A771 #9BB171
triadic
#B1A771 #71B1A7 #A771B1
tetradic
#B1A771 #71B187 #717BB1 #B1719B
square
#B1A771 #71B187 #717BB1 #B1719B
split-complementary
#B1A771 #719BB1 #8771B1
monochromatic
#6C653B #948951 #B1A771 #C7BF99 #DCD8C0

Accessibility & contrast

On white

2.43
#B1A771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B1A771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A771
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A771#FFFFFF#000000##000000
##B1A7711.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46D
Deuteranopia (green-blind)
#B4A873
Tritanopia (blue-blind)
#BAA099
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1a771;
/* rgb */ color: rgb(177, 167, 113);
/* oklch */ color: oklch(72.4% 0.073 99.0);
Tailwind
colors: {
  custom: {
    50: '#c9c19a',
    500: '#b1a771',
    950: '#000000',
  },
}
SCSS
$custom: #b1a771;
$custom-light: #c9c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a771",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 113
  },
  "hsl": {
    "h": 50.625,
    "s": 29.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72386,
    "c": 0.07329,
    "h": 99
  },
  "luminance": 0.38177
}

Semantic roles & 50–950 ramp

primary
#B1A771
secondary
#B2B6CC
accent
#72C562
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B1A771

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B1A771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva