#B8AB32#B8AB32

#B8AB32 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.137 H 103.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B8AB32
RGBrgb(184, 171, 50)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 73%, 72%)
CMYKcmyk(0%, 7.1%, 72.8%, 27.8%)
CIE-LABlab(69.15, -8.94, 60.29)
CIE-LCHlch(69.15, 60.95, 98.44°)
OKLaboklab(73.1% -0.0309 0.1333)
OKLCHoklch(73.1% 0.137 103)
XYZxyz(34.9073, 39.5479, 8.8118)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AB32 #323FB8
analogous
#B86832 #B8AB32 #82B832
triadic
#B8AB32 #32B8AB #AB32B8
tetradic
#B8AB32 #32B868 #323FB8 #B83282
square
#B8AB32 #32B868 #323FB8 #B83282
split-complementary
#B8AB32 #3282B8 #6832B8
monochromatic
#585218 #887E25 #B8AB32 #D1C556 #DED686

Accessibility & contrast

On white

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

On black

8.91
#B8AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AB32
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AB32#FFFFFF#000000##000000
##B8AB321.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51D
Deuteranopia (green-blind)
#BFAB3A
Tritanopia (blue-blind)
#C69F93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ab32;
/* rgb */ color: rgb(184, 171, 50);
/* oklch */ color: oklch(73.1% 0.137 103.0);
Tailwind
colors: {
  custom: {
    50: '#d1c372',
    500: '#b8ab32',
    950: '#000000',
  },
}
SCSS
$custom: #b8ab32;
$custom-light: #d1c372;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ab32",
  "rgb": {
    "r": 184,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 54.179,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73096,
    "c": 0.13679,
    "h": 103
  },
  "luminance": 0.39546
}

Semantic roles & 50–950 ramp

primary
#B8AB32
secondary
#7E85C8
accent
#56E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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