#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
RGBrgb(177, 161, 89)
HSLhsl(49, 36%, 52%)
HSVhsv(49, 50%, 69%)
CMYKcmyk(0%, 9%, 49.7%, 30.6%)
CIE-LABlab(66.18, -3.95, 39.35)
CIE-LCHlch(66.18, 39.54, 95.73°)
OKLaboklab(70.71% -0.0117 0.0939)
OKLCHoklch(70.71% 0.095 97.1)
XYZxyz(32.6805, 35.5594, 14.5915)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##B1A1591.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.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

Preview Lab

Preview with #B1A159

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

Preview Lab → · Contrast checker → · Palette generator →

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