#B1AC37#B1AC37

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

Color values

HEX#B1AC37
RGBrgb(177, 172, 55)
HSLhsl(58, 53%, 45%)
HSVhsv(58, 69%, 69%)
CMYKcmyk(0%, 2.8%, 68.9%, 30.6%)
CIE-LABlab(68.84, -12.26, 57.90)
CIE-LCHlch(68.84, 59.18, 101.96°)
OKLaboklab(72.72% -0.0393 0.1293)
OKLCHoklch(72.72% 0.135 106.9)
XYZxyz(33.5748, 39.1291, 9.3978)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC37 #373CB1
analogous
#B16F37 #B1AC37 #79B137
triadic
#B1AC37 #37B1AC #AC37B1
tetradic
#B1AC37 #37B16F #373CB1 #B13779
square
#B1AC37 #37B16F #373CB1 #B13779
split-complementary
#B1AC37 #3779B1 #6F37B1
monochromatic
#54511A #827F28 #B1AC37 #CCC75A #DAD788

Accessibility & contrast

On white

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

On black

8.83
#B1AC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AC37
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AC37#FFFFFF#000000##000000
##B1AC371.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA525
Deuteranopia (green-blind)
#BDAA3F
Tritanopia (blue-blind)
#BEA195
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac37;
/* rgb */ color: rgb(177, 172, 55);
/* oklch */ color: oklch(72.7% 0.135 106.9);
Tailwind
colors: {
  custom: {
    50: '#ccc475',
    500: '#b1ac37',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac37;
$custom-light: #ccc475;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac37",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 57.541,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72721,
    "c": 0.13517,
    "h": 106.9
  },
  "luminance": 0.39128
}

Semantic roles & 50–950 ramp

primary
#B1AC37
secondary
#8082C4
accent
#52DC4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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