#B5B32B#B5B32B

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

Color values

HEX#B5B32B
RGBrgb(181, 179, 43)
HSLhsl(59, 62%, 44%)
HSVhsv(59, 76%, 71%)
CMYKcmyk(0%, 1.1%, 76.2%, 29%)
CIE-LABlab(71.04, -14.69, 64.38)
CIE-LCHlch(71.04, 66.03, 102.85°)
OKLaboklab(74.53% -0.0475 0.1407)
OKLCHoklch(74.53% 0.149 108.6)
XYZxyz(35.6136, 42.2395, 8.5621)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B32B #2B2DB5
analogous
#B56E2B #B5B32B #72B52B
triadic
#B5B32B #2BB5B3 #B32BB5
tetradic
#B5B32B #2BB56E #2B2DB5 #B52B72
square
#B5B32B #2BB56E #2B2DB5 #B52B72
split-complementary
#B5B32B #2B72B5 #6E2BB5
monochromatic
#525114 #84821F #B5B32B #D4D249 #E0DE7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B32B#FFFFFF#000000##000000
##B5B32B1.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)
#C2AB06
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#C2A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b32b;
/* rgb */ color: rgb(181, 179, 43);
/* oklch */ color: oklch(74.5% 0.149 108.6);
Tailwind
colors: {
  custom: {
    50: '#cfc970',
    500: '#b5b32b',
    950: '#000000',
  },
}
SCSS
$custom: #b5b32b;
$custom-light: #cfc970;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b32b",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 59.13,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74527,
    "c": 0.14854,
    "h": 108.6
  },
  "luminance": 0.42238
}

Semantic roles & 50–950 ramp

primary
#B5B32B
secondary
#7475C8
accent
#45E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B32B

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

Preview Lab → · Contrast checker → · Palette generator →

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