#B1A372#B1A372

#B1A372 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.068 H 94.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B1A372
RGBrgb(177, 163, 114)
HSLhsl(47, 29%, 57%)
HSVhsv(47, 36%, 69%)
CMYKcmyk(0%, 7.9%, 35.6%, 30.6%)
CIE-LABlab(67.09, -2.31, 27.34)
CIE-LCHlch(67.09, 27.43, 94.82°)
OKLaboklab(71.56% -0.0048 0.0679)
OKLCHoklch(71.56% 0.068 94.1)
XYZxyz(34.2665, 36.7574, 21.2062)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A372 #7280B1
analogous
#B18472 #B1A372 #9FB172
triadic
#B1A372 #72B1A3 #A372B1
tetradic
#B1A372 #72B184 #7280B1 #B1729F
square
#B1A372 #72B184 #7280B1 #B1729F
split-complementary
#B1A372 #729FB1 #8472B1
monochromatic
#6D623C #948552 #B1A372 #C7BD99 #DDD6C1

Accessibility & contrast

On white

2.51
#B1A372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B1A372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A372
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A372#FFFFFF#000000##000000
##B1A3721.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA16F
Deuteranopia (green-blind)
#B1A574
Tritanopia (blue-blind)
#BA9C96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a372;
/* rgb */ color: rgb(177, 163, 114);
/* oklch */ color: oklch(71.6% 0.068 94.1);
Tailwind
colors: {
  custom: {
    50: '#c9be9b',
    500: '#b1a372',
    950: '#000000',
  },
}
SCSS
$custom: #b1a372;
$custom-light: #c9be9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a372",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 114
  },
  "hsl": {
    "h": 46.667,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71557,
    "c": 0.06809,
    "h": 94.1
  },
  "luminance": 0.36756
}

Semantic roles & 50–950 ramp

primary
#B1A372
secondary
#B3B8CC
accent
#79C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B1A372

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

Preview Lab → · Contrast checker → · Palette generator →

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