#B8AB39#B8AB39

#B8AB39 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.1% C 0.132 H 102.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#B8AB39
RGBrgb(184, 171, 57)
HSLhsl(54, 53%, 47%)
HSVhsv(54, 69%, 72%)
CMYKcmyk(0%, 7.1%, 69%, 27.8%)
CIE-LABlab(69.19, -8.59, 57.66)
CIE-LCHlch(69.19, 58.29, 98.47°)
OKLaboklab(73.15% -0.0291 0.1289)
OKLCHoklch(73.15% 0.132 102.7)
XYZxyz(35.0701, 39.6130, 9.6689)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AB39 #3946B8
analogous
#B86B39 #B8AB39 #86B839
triadic
#B8AB39 #39B8AB #AB39B8
tetradic
#B8AB39 #39B86B #3946B8 #B83986
square
#B8AB39 #39B86B #3946B8 #B83986
split-complementary
#B8AB39 #3986B8 #6B39B8
monochromatic
#5B541C #89802B #B8AB39 #CEC360 #DCD48F

Accessibility & contrast

On white

2.35
#B8AB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#B8AB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AB39
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AB39#FFFFFF#000000##000000
##B8AB391.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA628
Deuteranopia (green-blind)
#BEAC40
Tritanopia (blue-blind)
#C69F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ab39;
/* rgb */ color: rgb(184, 171, 57);
/* oklch */ color: oklch(73.1% 0.132 102.7);
Tailwind
colors: {
  custom: {
    50: '#d1c376',
    500: '#b8ab39',
    950: '#000000',
  },
}
SCSS
$custom: #b8ab39;
$custom-light: #d1c376;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ab39",
  "rgb": {
    "r": 184,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 53.858,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73148,
    "c": 0.13219,
    "h": 102.7
  },
  "luminance": 0.39612
}

Semantic roles & 50–950 ramp

primary
#B8AB39
secondary
#868CC7
accent
#5ADC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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