#B8A032#B8A032

#B8A032 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.128 H 96.5°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B8A032
RGBrgb(184, 160, 50)
HSLhsl(49, 57%, 46%)
HSVhsv(49, 73%, 72%)
CMYKcmyk(0%, 13%, 72.8%, 27.8%)
CIE-LABlab(66.19, -3.13, 57.42)
CIE-LCHlch(66.19, 57.50, 93.12°)
OKLaboklab(70.75% -0.0144 0.1272)
OKLCHoklch(70.75% 0.128 96.5)
XYZxyz(32.9154, 35.5640, 8.1478)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A032 #324AB8
analogous
#B85D32 #B8A032 #8DB832
triadic
#B8A032 #32B8A0 #A032B8
tetradic
#B8A032 #32B85D #324AB8 #B8328D
square
#B8A032 #32B85D #324AB8 #B8328D
split-complementary
#B8A032 #328DB8 #5D32B8
monochromatic
#584C18 #887625 #B8A032 #D1BB56 #DECE86

Accessibility & contrast

On white

2.59
#B8A032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B8A032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A032
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A032#FFFFFF#000000##000000
##B8A0321.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C20
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#C7948A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a032;
/* rgb */ color: rgb(184, 160, 50);
/* oklch */ color: oklch(70.7% 0.128 96.5);
Tailwind
colors: {
  custom: {
    50: '#d1bb71',
    500: '#b8a032',
    950: '#000000',
  },
}
SCSS
$custom: #b8a032;
$custom-light: #d1bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a032",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 49.254,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70747,
    "c": 0.12798,
    "h": 96.5
  },
  "luminance": 0.35562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A032

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

Preview Lab → · Contrast checker → · Palette generator →

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