#B8AB35#B8AB35

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

Color values

HEX#B8AB35
RGBrgb(184, 171, 53)
HSLhsl(54, 55%, 46%)
HSVhsv(54, 71%, 72%)
CMYKcmyk(0%, 7.1%, 71.2%, 27.8%)
CIE-LABlab(69.17, -8.80, 59.19)
CIE-LCHlch(69.17, 59.84, 98.46°)
OKLaboklab(73.12% -0.0302 0.1315)
OKLCHoklch(73.12% 0.135 102.9)
XYZxyz(34.9742, 39.5747, 9.1639)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AB35 #3542B8
analogous
#B86A35 #B8AB35 #84B835
triadic
#B8AB35 #35B8AB #AB35B8
tetradic
#B8AB35 #35B86A #3542B8 #B83584
square
#B8AB35 #35B86A #3542B8 #B83584
split-complementary
#B8AB35 #3584B8 #6A35B8
monochromatic
#59531A #887F27 #B8AB35 #D0C45B #DDD58A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AB35#FFFFFF#000000##000000
##B8AB351.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)
#BBA522
Deuteranopia (green-blind)
#BFAB3D
Tritanopia (blue-blind)
#C69F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ab35;
/* rgb */ color: rgb(184, 171, 53);
/* oklch */ color: oklch(73.1% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#d1c374',
    500: '#b8ab35',
    950: '#000000',
  },
}
SCSS
$custom: #b8ab35;
$custom-light: #d1c374;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ab35",
  "rgb": {
    "r": 184,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 54.046,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73118,
    "c": 0.13489,
    "h": 102.9
  },
  "luminance": 0.39573
}

Semantic roles & 50–950 ramp

primary
#B8AB35
secondary
#8188C7
accent
#58DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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