#B8AB3D#B8AB3D

#B8AB3D is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.2% C 0.129 H 102.5°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B8AB3D
RGBrgb(184, 171, 61)
HSLhsl(54, 50%, 48%)
HSVhsv(54, 67%, 72%)
CMYKcmyk(0%, 7.1%, 66.8%, 27.8%)
CIE-LABlab(69.22, -8.36, 56.06)
CIE-LCHlch(69.22, 56.68, 98.49°)
OKLaboklab(73.18% -0.0281 0.1262)
OKLCHoklch(73.18% 0.129 102.5)
XYZxyz(35.1738, 39.6545, 10.2153)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AB3D #3D4AB8
analogous
#B86E3D #B8AB3D #87B83D
triadic
#B8AB3D #3DB8AB #AB3DB8
tetradic
#B8AB3D #3DB86E #3D4AB8 #B83D87
square
#B8AB3D #3DB86E #3D4AB8 #B83D87
split-complementary
#B8AB3D #3D87B8 #6E3DB8
monochromatic
#5C561F #8A802E #B8AB3D #CCC166 #DBD494

Accessibility & contrast

On white

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

On black

8.93
#B8AB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AB3D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AB3D#FFFFFF#000000##000000
##B8AB3D1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ab3d;
/* rgb */ color: rgb(184, 171, 61);
/* oklch */ color: oklch(73.2% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#d0c378',
    500: '#b8ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #b8ab3d;
$custom-light: #d0c378;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ab3d",
  "rgb": {
    "r": 184,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 53.659,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73181,
    "c": 0.12932,
    "h": 102.5
  },
  "luminance": 0.39653
}

Semantic roles & 50–950 ramp

primary
#B8AB3D
secondary
#8A90C7
accent
#5DDA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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