#B8AB3E#B8AB3E

#B8AB3E 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#B8AB3E
RGBrgb(184, 171, 62)
HSLhsl(54, 50%, 48%)
HSVhsv(54, 66%, 72%)
CMYKcmyk(0%, 7.1%, 66.3%, 27.8%)
CIE-LABlab(69.23, -8.31, 55.65)
CIE-LCHlch(69.23, 56.26, 98.49°)
OKLaboklab(73.19% -0.0278 0.1255)
OKLCHoklch(73.19% 0.129 102.5)
XYZxyz(35.2010, 39.6654, 10.3585)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AB3E #3E4BB8
analogous
#B86E3E #B8AB3E #88B83E
triadic
#B8AB3E #3EB8AB #AB3EB8
tetradic
#B8AB3E #3EB86E #3E4BB8 #B83E88
square
#B8AB3E #3EB86E #3E4BB8 #B83E88
split-complementary
#B8AB3E #3E88B8 #6E3EB8
monochromatic
#5C561F #8A802F #B8AB3E #CCC167 #DBD495

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AB3E#FFFFFF#000000##000000
##B8AB3E1.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)
#BAA630
Deuteranopia (green-blind)
#BEAC44
Tritanopia (blue-blind)
#C69F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ab3e;
/* rgb */ color: rgb(184, 171, 62);
/* oklch */ color: oklch(73.2% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#d0c379',
    500: '#b8ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #b8ab3e;
$custom-light: #d0c379;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ab3e",
  "rgb": {
    "r": 184,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 53.607,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7319,
    "c": 0.12858,
    "h": 102.5
  },
  "luminance": 0.39664
}

Semantic roles & 50–950 ramp

primary
#B8AB3E
secondary
#8B91C7
accent
#5DD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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