#B5B32A#B5B32A

#B5B32A is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.149 H 108.7°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B5B32A
RGBrgb(181, 179, 42)
HSLhsl(59, 62%, 44%)
HSVhsv(59, 77%, 71%)
CMYKcmyk(0%, 1.1%, 76.8%, 29%)
CIE-LABlab(71.03, -14.73, 64.69)
CIE-LCHlch(71.03, 66.34, 102.83°)
OKLaboklab(74.52% -0.0477 0.1412)
OKLCHoklch(74.52% 0.149 108.7)
XYZxyz(35.5955, 42.2323, 8.4667)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B32A #2A2CB5
analogous
#B56D2A #B5B32A #71B52A
triadic
#B5B32A #2AB5B3 #B32AB5
tetradic
#B5B32A #2AB56D #2A2CB5 #B52A71
square
#B5B32A #2AB56D #2A2CB5 #B52A71
split-complementary
#B5B32A #2A71B5 #6D2AB5
monochromatic
#525113 #83821E #B5B32A #D4D248 #E0DF79

Accessibility & contrast

On white

2.22
#B5B32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#B5B32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B32A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B32A#FFFFFF#000000##000000
##B5B32A1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB03
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#C2A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b32a;
/* rgb */ color: rgb(181, 179, 42);
/* oklch */ color: oklch(74.5% 0.149 108.7);
Tailwind
colors: {
  custom: {
    50: '#cfc96f',
    500: '#b5b32a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b32a;
$custom-light: #cfc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b32a",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 59.137,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74522,
    "c": 0.14906,
    "h": 108.7
  },
  "luminance": 0.42231
}

Semantic roles & 50–950 ramp

primary
#B5B32A
secondary
#7374C8
accent
#45E542
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B32A

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

Preview Lab → · Contrast checker → · Palette generator →

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