#B1AB32#B1AB32

#B1AB32 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.137 H 106.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B1AB32
RGBrgb(177, 171, 50)
HSLhsl(57, 56%, 45%)
HSVhsv(57, 72%, 69%)
CMYKcmyk(0%, 3.4%, 71.8%, 30.6%)
CIE-LABlab(68.54, -12.00, 59.49)
CIE-LCHlch(68.54, 60.69, 101.40°)
OKLaboklab(72.46% -0.0391 0.1318)
OKLCHoklch(72.46% 0.137 106.5)
XYZxyz(33.2714, 38.7044, 8.7351)
Luminance0.3870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AB32 #3238B1
analogous
#B16B32 #B1AB32 #78B132
triadic
#B1AB32 #32B1AB #AB32B1
tetradic
#B1AB32 #32B16B #3238B1 #B13278
square
#B1AB32 #32B16B #3238B1 #B13278
split-complementary
#B1AB32 #3278B1 #6B32B1
monochromatic
#524F17 #817D25 #B1AB32 #CEC852 #DCD782

Accessibility & contrast

On white

2.40
#B1AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#B1AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AB32
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AB32#FFFFFF#000000##000000
##B1AB321.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA41D
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#BEA093
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1ab32;
/* rgb */ color: rgb(177, 171, 50);
/* oklch */ color: oklch(72.5% 0.137 106.5);
Tailwind
colors: {
  custom: {
    50: '#ccc372',
    500: '#b1ab32',
    950: '#000000',
  },
}
SCSS
$custom: #b1ab32;
$custom-light: #ccc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ab32",
  "rgb": {
    "r": 177,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 57.165,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72464,
    "c": 0.13749,
    "h": 106.5
  },
  "luminance": 0.38703
}

Semantic roles & 50–950 ramp

primary
#B1AB32
secondary
#7A7DC5
accent
#50DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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