#B1A85A#B1A85A

#B1A85A is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.100 H 102.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B1A85A
RGBrgb(177, 168, 90)
HSLhsl(54, 36%, 52%)
HSVhsv(54, 49%, 69%)
CMYKcmyk(0%, 5.1%, 49.2%, 30.6%)
CIE-LABlab(68.09, -7.58, 41.15)
CIE-LCHlch(68.09, 41.85, 100.44°)
OKLaboklab(72.23% -0.0221 0.098)
OKLCHoklch(72.23% 0.1 102.7)
XYZxyz(33.9805, 38.0916, 15.2333)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A85A #5A63B1
analogous
#B17D5A #B1A85A #8FB15A
triadic
#B1A85A #5AB1A8 #A85AB1
tetradic
#B1A85A #5AB17D #5A63B1 #B15A8F
square
#B1A85A #5AB17D #5A63B1 #B15A8F
split-complementary
#B1A85A #5A8FB1 #7D5AB1
monochromatic
#625D2E #8C8442 #B1A85A #C5BE84 #D8D4AD

Accessibility & contrast

On white

2.44
#B1A85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B1A85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A85A
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A85A#FFFFFF#000000##000000
##B1A85A1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A353
Deuteranopia (green-blind)
#B7A85D
Tritanopia (blue-blind)
#BC9F96
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1a85a;
/* rgb */ color: rgb(177, 168, 90);
/* oklch */ color: oklch(72.2% 0.100 102.7);
Tailwind
colors: {
  custom: {
    50: '#cac18a',
    500: '#b1a85a',
    950: '#000000',
  },
}
SCSS
$custom: #b1a85a;
$custom-light: #cac18a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a85a",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 90
  },
  "hsl": {
    "h": 53.793,
    "s": 35.802,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72227,
    "c": 0.10043,
    "h": 102.7
  },
  "luminance": 0.38091
}

Semantic roles & 50–950 ramp

primary
#B1A85A
secondary
#A0A4C6
accent
#68CC5C
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B1A85A

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

Preview Lab → · Contrast checker → · Palette generator →

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