#B8A32E#B8A32E

#B8A32E is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.133 H 98.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B8A32E
RGBrgb(184, 163, 46)
HSLhsl(51, 60%, 45%)
HSVhsv(51, 75%, 72%)
CMYKcmyk(0%, 11.4%, 75%, 27.8%)
CIE-LABlab(66.96, -4.91, 59.66)
CIE-LCHlch(66.96, 59.87, 94.70°)
OKLaboklab(71.36% -0.0199 0.1312)
OKLCHoklch(71.36% 0.133 98.6)
XYZxyz(33.3592, 36.5837, 7.8885)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A32E #2E43B8
analogous
#B85E2E #B8A32E #88B82E
triadic
#B8A32E #2EB8A3 #A32EB8
tetradic
#B8A32E #2EB85E #2E43B8 #B82E88
square
#B8A32E #2EB85E #2E43B8 #B82E88
split-complementary
#B8A32E #2E88B8 #5E2EB8
monochromatic
#564C16 #877822 #B8A32E #D3BF50 #DFD181

Accessibility & contrast

On white

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

On black

8.32
#B8A32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A32E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A32E#FFFFFF#000000##000000
##B8A32E1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F18
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#C7978C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a32e;
/* rgb */ color: rgb(184, 163, 46);
/* oklch */ color: oklch(71.4% 0.133 98.6);
Tailwind
colors: {
  custom: {
    50: '#d1bd6f',
    500: '#b8a32e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a32e;
$custom-light: #d1bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a32e",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 46
  },
  "hsl": {
    "h": 50.87,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71356,
    "c": 0.13266,
    "h": 98.6
  },
  "luminance": 0.36582
}

Semantic roles & 50–950 ramp

primary
#B8A32E
secondary
#7985C8
accent
#5DE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A32E

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

Preview Lab → · Contrast checker → · Palette generator →

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