#B5B32F#B5B32F

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

Color values

HEX#B5B32F
RGBrgb(181, 179, 47)
HSLhsl(59, 59%, 45%)
HSVhsv(59, 74%, 71%)
CMYKcmyk(0%, 1.1%, 74%, 29%)
CIE-LABlab(71.06, -14.52, 63.08)
CIE-LCHlch(71.06, 64.73, 102.96°)
OKLaboklab(74.55% -0.0467 0.1387)
OKLCHoklch(74.55% 0.146 108.6)
XYZxyz(35.6906, 42.2703, 8.9677)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B32F #2F31B5
analogous
#B5702F #B5B32F #74B52F
triadic
#B5B32F #2FB5B3 #B32FB5
tetradic
#B5B32F #2FB570 #2F31B5 #B52F74
square
#B5B32F #2FB570 #2F31B5 #B52F74
split-complementary
#B5B32F #2F74B5 #702FB5
monochromatic
#545316 #848322 #B5B32F #D1D050 #DEDD80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B32F#FFFFFF#000000##000000
##B5B32F1.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)
#C2AC13
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#C2A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b32f;
/* rgb */ color: rgb(181, 179, 47);
/* oklch */ color: oklch(74.6% 0.146 108.6);
Tailwind
colors: {
  custom: {
    50: '#cfc972',
    500: '#b5b32f',
    950: '#000000',
  },
}
SCSS
$custom: #b5b32f;
$custom-light: #cfc972;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b32f",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 59.104,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74551,
    "c": 0.14636,
    "h": 108.6
  },
  "luminance": 0.42269
}

Semantic roles & 50–950 ramp

primary
#B5B32F
secondary
#797AC7
accent
#48E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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