#B1A137#B1A137

#B1A137 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.125 H 100.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B1A137
RGBrgb(177, 161, 55)
HSLhsl(52, 53%, 45%)
HSVhsv(52, 69%, 69%)
CMYKcmyk(0%, 9%, 68.9%, 30.6%)
CIE-LABlab(65.84, -6.49, 54.86)
CIE-LCHlch(65.84, 55.24, 96.74°)
OKLaboklab(70.33% -0.023 0.1229)
OKLCHoklch(70.33% 0.125 100.6)
XYZxyz(31.5673, 35.1141, 8.7286)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A137 #3747B1
analogous
#B16437 #B1A137 #84B137
triadic
#B1A137 #37B1A1 #A137B1
tetradic
#B1A137 #37B164 #3747B1 #B13784
square
#B1A137 #37B164 #3747B1 #B13784
split-complementary
#B1A137 #3784B1 #6437B1
monochromatic
#544C1A #827728 #B1A137 #CCBD5A #DACF88

Accessibility & contrast

On white

2.62
#B1A137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B1A137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A137
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A137#FFFFFF#000000##000000
##B1A1371.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C28
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#BE968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a137;
/* rgb */ color: rgb(177, 161, 55);
/* oklch */ color: oklch(70.3% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#ccbc74',
    500: '#b1a137',
    950: '#000000',
  },
}
SCSS
$custom: #b1a137;
$custom-light: #ccbc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a137",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 52.131,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70329,
    "c": 0.12506,
    "h": 100.6
  },
  "luminance": 0.35113
}

Semantic roles & 50–950 ramp

primary
#B1A137
secondary
#8089C4
accent
#5FDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B1A137

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

Preview Lab → · Contrast checker → · Palette generator →

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