#B1A139#B1A139

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

Color values

HEX#B1A139
RGBrgb(177, 161, 57)
HSLhsl(52, 51%, 46%)
HSVhsv(52, 68%, 69%)
CMYKcmyk(0%, 9%, 67.8%, 30.6%)
CIE-LABlab(65.85, -6.37, 54.05)
CIE-LCHlch(65.85, 54.42, 96.73°)
OKLaboklab(70.35% -0.0224 0.1216)
OKLCHoklch(70.35% 0.124 100.5)
XYZxyz(31.6162, 35.1337, 8.9862)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A139 #3949B1
analogous
#B16539 #B1A139 #85B139
triadic
#B1A139 #39B1A1 #A139B1
tetradic
#B1A139 #39B165 #3949B1 #B13985
square
#B1A139 #39B165 #3949B1 #B13985
split-complementary
#B1A139 #3985B1 #6539B1
monochromatic
#544D1B #83772A #B1A139 #CBBC5D #DACF8B

Accessibility & contrast

On white

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

On black

8.03
#B1A139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A139
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A139#FFFFFF#000000##000000
##B1A1391.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2B
Deuteranopia (green-blind)
#B4A33F
Tritanopia (blue-blind)
#BE968C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a139;
/* rgb */ color: rgb(177, 161, 57);
/* oklch */ color: oklch(70.3% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#ccbc75',
    500: '#b1a139',
    950: '#000000',
  },
}
SCSS
$custom: #b1a139;
$custom-light: #ccbc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a139",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 57
  },
  "hsl": {
    "h": 52,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70346,
    "c": 0.1236,
    "h": 100.5
  },
  "luminance": 0.35132
}

Semantic roles & 50–950 ramp

primary
#B1A139
secondary
#828BC4
accent
#60DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1A139

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

Preview Lab → · Contrast checker → · Palette generator →

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