#B1AC32#B1AC32

#B1AC32 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.7% C 0.138 H 107.0°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B1AC32
RGBrgb(177, 172, 50)
HSLhsl(58, 56%, 45%)
HSVhsv(58, 72%, 69%)
CMYKcmyk(0%, 2.8%, 71.8%, 30.6%)
CIE-LABlab(68.81, -12.52, 59.76)
CIE-LCHlch(68.81, 61.06, 101.83°)
OKLaboklab(72.68% -0.0405 0.1324)
OKLCHoklch(72.68% 0.138 107)
XYZxyz(33.4610, 39.0836, 8.7983)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC32 #3237B1
analogous
#B16D32 #B1AC32 #77B132
triadic
#B1AC32 #32B1AC #AC32B1
tetradic
#B1AC32 #32B16D #3237B1 #B13277
square
#B1AC32 #32B16D #3237B1 #B13277
split-complementary
#B1AC32 #3277B1 #6D32B1
monochromatic
#524F17 #817E25 #B1AC32 #CEC952 #DCD882

Accessibility & contrast

On white

2.38
#B1AC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B1AC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AC32
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AC32#FFFFFF#000000##000000
##B1AC321.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51D
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#BEA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac32;
/* rgb */ color: rgb(177, 172, 50);
/* oklch */ color: oklch(72.7% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#ccc472',
    500: '#b1ac32',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac32;
$custom-light: #ccc472;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac32",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 57.638,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72684,
    "c": 0.13846,
    "h": 107
  },
  "luminance": 0.39082
}

Semantic roles & 50–950 ramp

primary
#B1AC32
secondary
#7A7DC5
accent
#4EDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AC32

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

Preview Lab → · Contrast checker → · Palette generator →

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