#B1AC33#B1AC33

#B1AC33 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#B1AC33
RGBrgb(177, 172, 51)
HSLhsl(58, 55%, 45%)
HSVhsv(58, 71%, 69%)
CMYKcmyk(0%, 2.8%, 71.2%, 30.6%)
CIE-LABlab(68.82, -12.47, 59.40)
CIE-LCHlch(68.82, 60.69, 101.85°)
OKLaboklab(72.69% -0.0403 0.1318)
OKLCHoklch(72.69% 0.138 107)
XYZxyz(33.4828, 39.0923, 8.9132)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC33 #3338B1
analogous
#B16D33 #B1AC33 #77B133
triadic
#B1AC33 #33B1AC #AC33B1
tetradic
#B1AC33 #33B16D #3338B1 #B13377
square
#B1AC33 #33B16D #3338B1 #B13377
split-complementary
#B1AC33 #3377B1 #6D33B1
monochromatic
#525018 #817E25 #B1AC33 #CEC954 #DBD883

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AC33#FFFFFF#000000##000000
##B1AC331.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)
#BBA51E
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#BEA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac33;
/* rgb */ color: rgb(177, 172, 51);
/* oklch */ color: oklch(72.7% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#ccc473',
    500: '#b1ac33',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac33;
$custom-light: #ccc473;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac33",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 57.619,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72691,
    "c": 0.13783,
    "h": 107
  },
  "luminance": 0.39091
}

Semantic roles & 50–950 ramp

primary
#B1AC33
secondary
#7B7EC5
accent
#4FDF49
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B1AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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