#B1AB20#B1AB20

#B1AB20 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.147 H 106.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B1AB20
RGBrgb(177, 171, 32)
HSLhsl(58, 69%, 41%)
HSVhsv(58, 82%, 69%)
CMYKcmyk(0%, 3.4%, 81.9%, 30.6%)
CIE-LABlab(68.44, -12.72, 65.18)
CIE-LCHlch(68.44, 66.41, 101.04°)
OKLaboklab(72.36% -0.0427 0.1406)
OKLCHoklch(72.36% 0.147 106.9)
XYZxyz(32.9565, 38.5784, 7.0766)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AB20 #2026B1
analogous
#B16220 #B1AB20 #6EB120
triadic
#B1AB20 #20B1AB #AB20B1
tetradic
#B1AB20 #20B162 #2026B1 #B1206E
square
#B1AB20 #20B162 #2026B1 #B1206E
split-complementary
#B1AB20 #206EB1 #6220B1
monochromatic
#49470D #7D7917 #B1AB20 #DAD334 #E4DF68

Accessibility & contrast

On white

2.41
#B1AB20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B1AB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AB20
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AB20#FFFFFF#000000##000000
##B1AB201.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BDA92D
Tritanopia (blue-blind)
#BF9F92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1ab20;
/* rgb */ color: rgb(177, 171, 32);
/* oklch */ color: oklch(72.4% 0.147 106.9);
Tailwind
colors: {
  custom: {
    50: '#ccc36a',
    500: '#b1ab20',
    950: '#000000',
  },
}
SCSS
$custom: #b1ab20;
$custom-light: #ccc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ab20",
  "rgb": {
    "r": 177,
    "g": 171,
    "b": 32
  },
  "hsl": {
    "h": 57.517,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72362,
    "c": 0.14692,
    "h": 106.9
  },
  "luminance": 0.38577
}

Semantic roles & 50–950 ramp

primary
#B1AB20
secondary
#6468C9
accent
#43EC3C
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1AB20

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

Preview Lab → · Contrast checker → · Palette generator →

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