#B1A532#B1A532

#B1A532 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.132 H 103.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B1A532
RGBrgb(177, 165, 50)
HSLhsl(54, 56%, 45%)
HSVhsv(54, 72%, 69%)
CMYKcmyk(0%, 6.8%, 71.8%, 30.6%)
CIE-LABlab(66.89, -8.87, 57.89)
CIE-LCHlch(66.89, 58.57, 98.71°)
OKLaboklab(71.16% -0.0303 0.1284)
OKLCHoklch(71.16% 0.132 103.3)
XYZxyz(32.1637, 36.4890, 8.3659)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A532 #323EB1
analogous
#B16632 #B1A532 #7DB132
triadic
#B1A532 #32B1A5 #A532B1
tetradic
#B1A532 #32B166 #323EB1 #B1327D
square
#B1A532 #32B166 #323EB1 #B1327D
split-complementary
#B1A532 #327DB1 #6632B1
monochromatic
#524C17 #817925 #B1A532 #CEC252 #DCD382

Accessibility & contrast

On white

2.53
#B1A532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B1A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A532
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A532#FFFFFF#000000##000000
##B1A5321.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01F
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#BE998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a532;
/* rgb */ color: rgb(177, 165, 50);
/* oklch */ color: oklch(71.2% 0.132 103.3);
Tailwind
colors: {
  custom: {
    50: '#ccbf72',
    500: '#b1a532',
    950: '#000000',
  },
}
SCSS
$custom: #b1a532;
$custom-light: #ccbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a532",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 54.331,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71155,
    "c": 0.13195,
    "h": 103.3
  },
  "luminance": 0.36488
}

Semantic roles & 50–950 ramp

primary
#B1A532
secondary
#7A81C5
accent
#57DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A532

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

Preview Lab → · Contrast checker → · Palette generator →

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