#B1AC52#B1AC52

#B1AC52 is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.113 H 106.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B1AC52
RGBrgb(177, 172, 82)
HSLhsl(57, 38%, 51%)
HSVhsv(57, 54%, 69%)
CMYKcmyk(0%, 2.8%, 53.7%, 30.6%)
CIE-LABlab(69.08, -10.40, 46.27)
CIE-LCHlch(69.08, 47.42, 102.66°)
OKLaboklab(72.99% -0.031 0.1084)
OKLCHoklch(72.99% 0.113 106)
XYZxyz(34.4079, 39.4624, 13.7855)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC52 #5257B1
analogous
#B17C52 #B1AC52 #86B152
triadic
#B1AC52 #52B1AC #AC52B1
tetradic
#B1AC52 #52B17C #5257B1 #B15286
square
#B1AC52 #52B17C #5257B1 #B15286
split-complementary
#B1AC52 #5286B1 #7C52B1
monochromatic
#5E5B2A #88843D #B1AC52 #C4C07C #D7D4A6

Accessibility & contrast

On white

2.36
#B1AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B1AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AC52
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AC52#FFFFFF#000000##000000
##B1AC521.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A649
Deuteranopia (green-blind)
#BBAA57
Tritanopia (blue-blind)
#BCA298
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ac52;
/* rgb */ color: rgb(177, 172, 82);
/* oklch */ color: oklch(73.0% 0.113 106.0);
Tailwind
colors: {
  custom: {
    50: '#cac485',
    500: '#b1ac52',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac52;
$custom-light: #cac485;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac52",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 56.842,
    "s": 37.849,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72989,
    "c": 0.11274,
    "h": 106
  },
  "luminance": 0.39461
}

Semantic roles & 50–950 ramp

primary
#B1AC52
secondary
#9A9DC4
accent
#60CE5A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #B1AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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