#B5A332#B5A332

#B5A332 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.130 H 100.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B5A332
RGBrgb(181, 163, 50)
HSLhsl(52, 57%, 45%)
HSVhsv(52, 72%, 71%)
CMYKcmyk(0%, 9.9%, 72.4%, 29%)
CIE-LABlab(66.71, -6.05, 57.84)
CIE-LCHlch(66.71, 58.15, 95.97°)
OKLaboklab(71.1% -0.0225 0.1282)
OKLCHoklch(71.1% 0.13 100)
XYZxyz(32.7305, 36.2500, 8.2899)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A332 #3244B5
analogous
#B56232 #B5A332 #85B532
triadic
#B5A332 #32B5A3 #A332B5
tetradic
#B5A332 #32B562 #3244B5 #B53285
square
#B5A332 #32B562 #3244B5 #B53285
split-complementary
#B5A332 #3285B5 #6232B5
monochromatic
#554D18 #857825 #B5A332 #D0BF54 #DDD184

Accessibility & contrast

On white

2.55
#B5A332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B5A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A332
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A332#FFFFFF#000000##000000
##B5A3321.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E20
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#C3978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a332;
/* rgb */ color: rgb(181, 163, 50);
/* oklch */ color: oklch(71.1% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#cfbd71',
    500: '#b5a332',
    950: '#000000',
  },
}
SCSS
$custom: #b5a332;
$custom-light: #cfbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a332",
  "rgb": {
    "r": 181,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 51.756,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71097,
    "c": 0.13013,
    "h": 100
  },
  "luminance": 0.36248
}

Semantic roles & 50–950 ramp

primary
#B5A332
secondary
#7C86C7
accent
#5DE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A332

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

Preview Lab → · Contrast checker → · Palette generator →

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