#B1A134#B1A134

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

Color values

HEX#B1A134
RGBrgb(177, 161, 52)
HSLhsl(52, 55%, 45%)
HSVhsv(52, 71%, 69%)
CMYKcmyk(0%, 9%, 70.6%, 30.6%)
CIE-LABlab(65.82, -6.65, 56.05)
CIE-LCHlch(65.82, 56.44, 96.76°)
OKLaboklab(70.3% -0.0238 0.1249)
OKLCHoklch(70.3% 0.127 100.8)
XYZxyz(31.4976, 35.0862, 8.3614)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A134 #3444B1
analogous
#B16334 #B1A134 #83B134
triadic
#B1A134 #34B1A1 #A134B1
tetradic
#B1A134 #34B163 #3444B1 #B13483
square
#B1A134 #34B163 #3444B1 #B13483
split-complementary
#B1A134 #3483B1 #6334B1
monochromatic
#524B18 #827626 #B1A134 #CDBE55 #DBD084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A134#FFFFFF#000000##000000
##B1A1341.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)
#B09C24
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#BF958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a134;
/* rgb */ color: rgb(177, 161, 52);
/* oklch */ color: oklch(70.3% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#ccbc72',
    500: '#b1a134',
    950: '#000000',
  },
}
SCSS
$custom: #b1a134;
$custom-light: #ccbc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a134",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 52.32,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70305,
    "c": 0.12715,
    "h": 100.8
  },
  "luminance": 0.35085
}

Semantic roles & 50–950 ramp

primary
#B1A134
secondary
#7C86C5
accent
#5DDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A134

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

Preview Lab → · Contrast checker → · Palette generator →

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