#B5A132#B5A132

#B5A132 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.129 H 98.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B5A132
RGBrgb(181, 161, 50)
HSLhsl(51, 57%, 45%)
HSVhsv(51, 72%, 71%)
CMYKcmyk(0%, 11%, 72.4%, 29%)
CIE-LABlab(66.17, -4.99, 57.31)
CIE-LCHlch(66.17, 57.53, 94.97°)
OKLaboklab(70.67% -0.0195 0.1271)
OKLCHoklch(70.67% 0.129 98.7)
XYZxyz(32.3782, 35.5454, 8.1725)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A132 #3246B5
analogous
#B56032 #B5A132 #87B532
triadic
#B5A132 #32B5A1 #A132B5
tetradic
#B5A132 #32B560 #3246B5 #B53287
square
#B5A132 #32B560 #3246B5 #B53287
split-complementary
#B5A132 #3287B5 #6032B5
monochromatic
#554C18 #857625 #B5A132 #D0BD54 #DDD084

Accessibility & contrast

On white

2.59
#B5A132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B5A132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A132
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A132#FFFFFF#000000##000000
##B5A1321.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D20
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#C3958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b5a132;
/* rgb */ color: rgb(181, 161, 50);
/* oklch */ color: oklch(70.7% 0.129 98.7);
Tailwind
colors: {
  custom: {
    50: '#cfbc71',
    500: '#b5a132',
    950: '#000000',
  },
}
SCSS
$custom: #b5a132;
$custom-light: #cfbc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a132",
  "rgb": {
    "r": 181,
    "g": 161,
    "b": 50
  },
  "hsl": {
    "h": 50.84,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7067,
    "c": 0.12854,
    "h": 98.7
  },
  "luminance": 0.35544
}

Semantic roles & 50–950 ramp

primary
#B5A132
secondary
#7C88C7
accent
#5FE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B5A132

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

Preview Lab → · Contrast checker → · Palette generator →

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