#B1A15D#B1A15D

#B1A15D is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.090 H 96.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B1A15D
RGBrgb(177, 161, 93)
HSLhsl(49, 35%, 53%)
HSVhsv(49, 47%, 69%)
CMYKcmyk(0%, 9%, 47.5%, 30.6%)
CIE-LABlab(66.23, -3.56, 37.36)
CIE-LCHlch(66.23, 37.52, 95.45°)
OKLaboklab(70.77% -0.0102 0.0898)
OKLCHoklch(70.77% 0.09 96.5)
XYZxyz(32.8531, 35.6284, 15.5002)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A15D #5D6DB1
analogous
#B1775D #B1A15D #97B15D
triadic
#B1A15D #5DB1A1 #A15DB1
tetradic
#B1A15D #5DB177 #5D6DB1 #B15D97
square
#B1A15D #5DB177 #5D6DB1 #B15D97
split-complementary
#B1A15D #5D97B1 #775DB1
monochromatic
#645A30 #8D7F44 #B1A15D #C5B986 #D9D1B0

Accessibility & contrast

On white

2.58
#B1A15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B1A15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A15D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A15D#FFFFFF#000000##000000
##B1A15D1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E57
Deuteranopia (green-blind)
#B2A360
Tritanopia (blue-blind)
#BC9891
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a15d;
/* rgb */ color: rgb(177, 161, 93);
/* oklch */ color: oklch(70.8% 0.090 96.5);
Tailwind
colors: {
  custom: {
    50: '#cabc8c',
    500: '#b1a15d',
    950: '#000000',
  },
}
SCSS
$custom: #b1a15d;
$custom-light: #cabc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a15d",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 93
  },
  "hsl": {
    "h": 48.571,
    "s": 35,
    "l": 52.941
  },
  "oklch": {
    "l": 0.70772,
    "c": 0.09037,
    "h": 96.5
  },
  "luminance": 0.35627
}

Semantic roles & 50–950 ramp

primary
#B1A15D
secondary
#A3AAC7
accent
#72CB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B1A15D

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

Preview Lab → · Contrast checker → · Palette generator →

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