#B5B32E#B5B32E

#B5B32E 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#B5B32E
RGBrgb(181, 179, 46)
HSLhsl(59, 59%, 45%)
HSVhsv(59, 75%, 71%)
CMYKcmyk(0%, 1.1%, 74.6%, 29%)
CIE-LABlab(71.05, -14.56, 63.41)
CIE-LCHlch(71.05, 65.06, 102.94°)
OKLaboklab(74.54% -0.0469 0.1392)
OKLCHoklch(74.54% 0.147 108.6)
XYZxyz(35.6707, 42.2624, 8.8627)
Luminance0.4226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B32E #2E30B5
analogous
#B5702E #B5B32E #74B52E
triadic
#B5B32E #2EB5B3 #B32EB5
tetradic
#B5B32E #2EB570 #2E30B5 #B52E74
square
#B5B32E #2EB570 #2E30B5 #B52E74
split-complementary
#B5B32E #2E74B5 #702EB5
monochromatic
#535215 #848322 #B5B32E #D2D04E #DEDD7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b5b32e;
/* rgb */ color: rgb(181, 179, 46);
/* oklch */ color: oklch(74.5% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#cfc971',
    500: '#b5b32e',
    950: '#000000',
  },
}
SCSS
$custom: #b5b32e;
$custom-light: #cfc971;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b32e",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 46
  },
  "hsl": {
    "h": 59.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74545,
    "c": 0.14692,
    "h": 108.6
  },
  "luminance": 0.42261
}

Semantic roles & 50–950 ramp

primary
#B5B32E
secondary
#7879C7
accent
#47E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B32E

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

Preview Lab → · Contrast checker → · Palette generator →

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