#B1AC34#B1AC34

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

Color values

HEX#B1AC34
RGBrgb(177, 172, 52)
HSLhsl(58, 55%, 45%)
HSVhsv(58, 71%, 69%)
CMYKcmyk(0%, 2.8%, 70.6%, 30.6%)
CIE-LABlab(68.82, -12.42, 59.03)
CIE-LCHlch(68.82, 60.32, 101.88°)
OKLaboklab(72.7% -0.0401 0.1312)
OKLCHoklch(72.7% 0.137 107)
XYZxyz(33.5051, 39.1012, 9.0305)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC34 #3439B1
analogous
#B16E34 #B1AC34 #78B134
triadic
#B1AC34 #34B1AC #AC34B1
tetradic
#B1AC34 #34B16E #3439B1 #B13478
square
#B1AC34 #34B16E #3439B1 #B13478
split-complementary
#B1AC34 #3478B1 #6E34B1
monochromatic
#525018 #827E26 #B1AC34 #CDC855 #DBD884

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b1ac34;
/* rgb */ color: rgb(177, 172, 52);
/* oklch */ color: oklch(72.7% 0.137 107.0);
Tailwind
colors: {
  custom: {
    50: '#ccc473',
    500: '#b1ac34',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac34;
$custom-light: #ccc473;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac34",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 57.6,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72698,
    "c": 0.13718,
    "h": 107
  },
  "luminance": 0.391
}

Semantic roles & 50–950 ramp

primary
#B1AC34
secondary
#7C7FC5
accent
#50DE4A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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