#B8AB36#B8AB36

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

Color values

HEX#B8AB36
RGBrgb(184, 171, 54)
HSLhsl(54, 55%, 47%)
HSVhsv(54, 71%, 72%)
CMYKcmyk(0%, 7.1%, 70.7%, 27.8%)
CIE-LABlab(69.17, -8.75, 58.81)
CIE-LCHlch(69.17, 59.46, 98.46°)
OKLaboklab(73.13% -0.0299 0.1309)
OKLCHoklch(73.13% 0.134 102.9)
XYZxyz(34.9974, 39.5840, 9.2863)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AB36 #3643B8
analogous
#B86A36 #B8AB36 #84B836
triadic
#B8AB36 #36B8AB #AB36B8
tetradic
#B8AB36 #36B86A #3643B8 #B83684
square
#B8AB36 #36B86A #3643B8 #B83684
split-complementary
#B8AB36 #3684B8 #6A36B8
monochromatic
#59531A #897F28 #B8AB36 #CFC45C #DDD58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AB36#FFFFFF#000000##000000
##B8AB361.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ab36;
/* rgb */ color: rgb(184, 171, 54);
/* oklch */ color: oklch(73.1% 0.134 102.9);
Tailwind
colors: {
  custom: {
    50: '#d1c374',
    500: '#b8ab36',
    950: '#000000',
  },
}
SCSS
$custom: #b8ab36;
$custom-light: #d1c374;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ab36",
  "rgb": {
    "r": 184,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 54,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73125,
    "c": 0.13423,
    "h": 102.9
  },
  "luminance": 0.39583
}

Semantic roles & 50–950 ramp

primary
#B8AB36
secondary
#8289C7
accent
#59DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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