#B1A131#B1A131

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

Color values

HEX#B1A131
RGBrgb(177, 161, 49)
HSLhsl(53, 57%, 44%)
HSVhsv(53, 72%, 69%)
CMYKcmyk(0%, 9%, 72.3%, 30.6%)
CIE-LABlab(65.80, -6.80, 57.20)
CIE-LCHlch(65.80, 57.60, 96.78°)
OKLaboklab(70.28% -0.0245 0.1268)
OKLCHoklch(70.28% 0.129 100.9)
XYZxyz(31.4321, 35.0600, 8.0167)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A131 #3141B1
analogous
#B16131 #B1A131 #81B131
triadic
#B1A131 #31B1A1 #A131B1
tetradic
#B1A131 #31B161 #3141B1 #B13181
square
#B1A131 #31B161 #3141B1 #B13181
split-complementary
#B1A131 #3181B1 #6131B1
monochromatic
#514A16 #817524 #B1A131 #CFBF51 #DCD180

Accessibility & contrast

On white

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

On black

8.01
#B1A131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A131
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A131#FFFFFF#000000##000000
##B1A1311.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1F
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#BF958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a131;
/* rgb */ color: rgb(177, 161, 49);
/* oklch */ color: oklch(70.3% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#ccbc71',
    500: '#b1a131',
    950: '#000000',
  },
}
SCSS
$custom: #b1a131;
$custom-light: #ccbc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a131",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 52.5,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70282,
    "c": 0.12914,
    "h": 100.9
  },
  "luminance": 0.35059
}

Semantic roles & 50–950 ramp

primary
#B1A131
secondary
#7982C5
accent
#5BE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B1A131

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

Preview Lab → · Contrast checker → · Palette generator →

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