#B6AB32#B6AB32

#B6AB32 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.137 H 104.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B6AB32
RGBrgb(182, 171, 50)
HSLhsl(55, 57%, 45%)
HSVhsv(55, 73%, 71%)
CMYKcmyk(0%, 6%, 72.5%, 28.6%)
CIE-LABlab(68.97, -9.82, 60.06)
CIE-LCHlch(68.97, 60.86, 99.28°)
OKLaboklab(72.91% -0.0332 0.1329)
OKLCHoklch(72.91% 0.137 104)
XYZxyz(34.4315, 39.3026, 8.7895)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB32 #323DB6
analogous
#B66932 #B6AB32 #7FB632
triadic
#B6AB32 #32B6AB #AB32B6
tetradic
#B6AB32 #32B669 #323DB6 #B6327F
square
#B6AB32 #32B669 #323DB6 #B6327F
split-complementary
#B6AB32 #327FB6 #6932B6
monochromatic
#565118 #867E25 #B6AB32 #D0C655 #DDD685

Accessibility & contrast

On white

2.37
#B6AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#B6AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AB32
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AB32#FFFFFF#000000##000000
##B6AB321.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51D
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#C49F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6ab32;
/* rgb */ color: rgb(182, 171, 50);
/* oklch */ color: oklch(72.9% 0.137 104.0);
Tailwind
colors: {
  custom: {
    50: '#cfc372',
    500: '#b6ab32',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab32;
$custom-light: #cfc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab32",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 55,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72914,
    "c": 0.13694,
    "h": 104
  },
  "luminance": 0.39301
}

Semantic roles & 50–950 ramp

primary
#B6AB32
secondary
#7D83C7
accent
#54E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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