#B8A32A#B8A32A

#B8A32A is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.135 H 98.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B8A32A
RGBrgb(184, 163, 42)
HSLhsl(51, 63%, 44%)
HSVhsv(51, 77%, 72%)
CMYKcmyk(0%, 11.4%, 77.2%, 27.8%)
CIE-LABlab(66.94, -5.08, 61.04)
CIE-LCHlch(66.94, 61.26, 94.75°)
OKLaboklab(71.33% -0.0207 0.1333)
OKLCHoklch(71.33% 0.135 98.8)
XYZxyz(33.2840, 36.5536, 7.4924)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A32A #2A3FB8
analogous
#B85C2A #B8A32A #86B82A
triadic
#B8A32A #2AB8A3 #A32AB8
tetradic
#B8A32A #2AB85C #2A3FB8 #B82A86
square
#B8A32A #2AB85C #2A3FB8 #B82A86
split-complementary
#B8A32A #2A86B8 #5C2AB8
monochromatic
#544B13 #86771F #B8A32A #D6C14A #E1D27B

Accessibility & contrast

On white

2.53
#B8A32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B8A32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A32A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A32A#FFFFFF#000000##000000
##B8A32A1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0F
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#C7968C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a32a;
/* rgb */ color: rgb(184, 163, 42);
/* oklch */ color: oklch(71.3% 0.135 98.8);
Tailwind
colors: {
  custom: {
    50: '#d1bd6d',
    500: '#b8a32a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a32a;
$custom-light: #d1bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a32a",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 51.127,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7133,
    "c": 0.13491,
    "h": 98.8
  },
  "luminance": 0.36552
}

Semantic roles & 50–950 ramp

primary
#B8A32A
secondary
#7581C9
accent
#5AE642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A32A

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

Preview Lab → · Contrast checker → · Palette generator →

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