#B5A932#B5A932

#B5A932 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.135 H 103.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B5A932
RGBrgb(181, 169, 50)
HSLhsl(55, 57%, 45%)
HSVhsv(55, 72%, 71%)
CMYKcmyk(0%, 6.6%, 72.4%, 29%)
CIE-LABlab(68.34, -9.21, 59.42)
CIE-LCHlch(68.34, 60.13, 98.81°)
OKLaboklab(72.39% -0.0315 0.1315)
OKLCHoklch(72.39% 0.135 103.5)
XYZxyz(33.8212, 38.4314, 8.6535)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A932 #323EB5
analogous
#B56832 #B5A932 #7FB532
triadic
#B5A932 #32B5A9 #A932B5
tetradic
#B5A932 #32B568 #323EB5 #B5327F
square
#B5A932 #32B568 #323EB5 #B5327F
split-complementary
#B5A932 #327FB5 #6832B5
monochromatic
#554F18 #857C25 #B5A932 #D0C554 #DDD584

Accessibility & contrast

On white

2.42
#B5A932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B5A932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A932
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A932#FFFFFF#000000##000000
##B5A9321.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31E
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#C39D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5a932;
/* rgb */ color: rgb(181, 169, 50);
/* oklch */ color: oklch(72.4% 0.135 103.5);
Tailwind
colors: {
  custom: {
    50: '#cfc272',
    500: '#b5a932',
    950: '#000000',
  },
}
SCSS
$custom: #b5a932;
$custom-light: #cfc272;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a932",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 50
  },
  "hsl": {
    "h": 54.504,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7239,
    "c": 0.13523,
    "h": 103.5
  },
  "luminance": 0.3843
}

Semantic roles & 50–950 ramp

primary
#B5A932
secondary
#7C83C7
accent
#56E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A932

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

Preview Lab → · Contrast checker → · Palette generator →

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