#B8A132#B8A132

#B8A132 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.129 H 97.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B8A132
RGBrgb(184, 161, 50)
HSLhsl(50, 57%, 46%)
HSVhsv(50, 73%, 72%)
CMYKcmyk(0%, 12.5%, 72.8%, 27.8%)
CIE-LABlab(66.45, -3.66, 57.68)
CIE-LCHlch(66.45, 57.80, 93.63°)
OKLaboklab(70.96% -0.0159 0.1277)
OKLCHoklch(70.96% 0.129 97.1)
XYZxyz(33.0894, 35.9121, 8.2058)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A132 #3249B8
analogous
#B85E32 #B8A132 #8CB832
triadic
#B8A132 #32B8A1 #A132B8
tetradic
#B8A132 #32B85E #3249B8 #B8328C
square
#B8A132 #32B85E #3249B8 #B8328C
split-complementary
#B8A132 #328CB8 #5E32B8
monochromatic
#584D18 #887725 #B8A132 #D1BC56 #DECF86

Accessibility & contrast

On white

2.57
#B8A132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B8A132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A132
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A132#FFFFFF#000000##000000
##B8A1321.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D20
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#C7958B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a132;
/* rgb */ color: rgb(184, 161, 50);
/* oklch */ color: oklch(71.0% 0.129 97.1);
Tailwind
colors: {
  custom: {
    50: '#d1bc71',
    500: '#b8a132',
    950: '#000000',
  },
}
SCSS
$custom: #b8a132;
$custom-light: #d1bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a132",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 50
  },
  "hsl": {
    "h": 49.701,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70959,
    "c": 0.12871,
    "h": 97.1
  },
  "luminance": 0.3591
}

Semantic roles & 50–950 ramp

primary
#B8A132
secondary
#7E8BC8
accent
#62E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B8A132

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

Preview Lab → · Contrast checker → · Palette generator →

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