#B5B32D#B5B32D

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

Color values

HEX#B5B32D
RGBrgb(181, 179, 45)
HSLhsl(59, 60%, 44%)
HSVhsv(59, 75%, 71%)
CMYKcmyk(0%, 1.1%, 75.1%, 29%)
CIE-LABlab(71.05, -14.61, 63.74)
CIE-LCHlch(71.05, 65.39, 102.91°)
OKLaboklab(74.54% -0.0471 0.1398)
OKLCHoklch(74.54% 0.147 108.6)
XYZxyz(35.6512, 42.2546, 8.7601)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B32D #2D2FB5
analogous
#B56F2D #B5B32D #73B52D
triadic
#B5B32D #2DB5B3 #B32DB5
tetradic
#B5B32D #2DB56F #2D2FB5 #B52D73
square
#B5B32D #2DB56F #2D2FB5 #B52D73
split-complementary
#B5B32D #2D73B5 #6F2DB5
monochromatic
#535215 #848321 #B5B32D #D3D14D #DFDD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B32D#FFFFFF#000000##000000
##B5B32D1.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)
#C2AC0D
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#C2A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b32d;
/* rgb */ color: rgb(181, 179, 45);
/* oklch */ color: oklch(74.5% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#cfc971',
    500: '#b5b32d',
    950: '#000000',
  },
}
SCSS
$custom: #b5b32d;
$custom-light: #cfc971;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b32d",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 45
  },
  "hsl": {
    "h": 59.118,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74539,
    "c": 0.14747,
    "h": 108.6
  },
  "luminance": 0.42253
}

Semantic roles & 50–950 ramp

primary
#B5B32D
secondary
#7678C7
accent
#47E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B32D

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

Preview Lab → · Contrast checker → · Palette generator →

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