#B1AC20#B1AC20

#B1AC20 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.6% C 0.148 H 107.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B1AC20
RGBrgb(177, 172, 32)
HSLhsl(58, 69%, 41%)
HSVhsv(58, 82%, 69%)
CMYKcmyk(0%, 2.8%, 81.9%, 30.6%)
CIE-LABlab(68.72, -13.24, 65.42)
CIE-LCHlch(68.72, 66.75, 101.44°)
OKLaboklab(72.58% -0.0441 0.1411)
OKLCHoklch(72.58% 0.148 107.4)
XYZxyz(33.1461, 38.9576, 7.1398)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC20 #2025B1
analogous
#B16320 #B1AC20 #6DB120
triadic
#B1AC20 #20B1AC #AC20B1
tetradic
#B1AC20 #20B163 #2025B1 #B1206D
square
#B1AC20 #20B163 #2025B1 #B1206D
split-complementary
#B1AC20 #206DB1 #6320B1
monochromatic
#49470D #7D7A17 #B1AC20 #DAD534 #E4DF68

Accessibility & contrast

On white

2.39
#B1AC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B1AC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AC20
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AC20#FFFFFF#000000##000000
##B1AC201.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BEAA2D
Tritanopia (blue-blind)
#BEA093
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac20;
/* rgb */ color: rgb(177, 172, 32);
/* oklch */ color: oklch(72.6% 0.148 107.4);
Tailwind
colors: {
  custom: {
    50: '#ccc46a',
    500: '#b1ac20',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac20;
$custom-light: #ccc46a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac20",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 57.931,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72582,
    "c": 0.14784,
    "h": 107.4
  },
  "luminance": 0.38956
}

Semantic roles & 50–950 ramp

primary
#B1AC20
secondary
#6467C9
accent
#42EC3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1AC20

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

Preview Lab → · Contrast checker → · Palette generator →

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