#B8B32A#B8B32A

#B8B32A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.149 H 107.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B8B32A
RGBrgb(184, 179, 42)
HSLhsl(58, 63%, 44%)
HSVhsv(58, 77%, 72%)
CMYKcmyk(0%, 2.7%, 77.2%, 27.8%)
CIE-LABlab(71.28, -13.43, 65.01)
CIE-LCHlch(71.28, 66.38, 101.67°)
OKLaboklab(74.78% -0.0442 0.1418)
OKLCHoklch(74.78% 0.149 107.3)
XYZxyz(36.3067, 42.5990, 8.5000)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B32A #2A2FB8
analogous
#B86C2A #B8B32A #76B82A
triadic
#B8B32A #2AB8B3 #B32AB8
tetradic
#B8B32A #2AB86C #2A2FB8 #B82A76
square
#B8B32A #2AB86C #2A2FB8 #B82A76
split-complementary
#B8B32A #2A76B8 #6C2AB8
monochromatic
#545213 #86831F #B8B32A #D6D14A #E1DD7B

Accessibility & contrast

On white

2.21
#B8B32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B8B32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B32A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B32A#FFFFFF#000000##000000
##B8B32A1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC03
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#C6A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b32a;
/* rgb */ color: rgb(184, 179, 42);
/* oklch */ color: oklch(74.8% 0.149 107.3);
Tailwind
colors: {
  custom: {
    50: '#d1c96f',
    500: '#b8b32a',
    950: '#000000',
  },
}
SCSS
$custom: #b8b32a;
$custom-light: #d1c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b32a",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 57.887,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74783,
    "c": 0.14851,
    "h": 107.3
  },
  "luminance": 0.42598
}

Semantic roles & 50–950 ramp

primary
#B8B32A
secondary
#7578C9
accent
#48E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B32A

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

Preview Lab → · Contrast checker → · Palette generator →

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