#B5A532#B5A532

#B5A532 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.132 H 101.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B5A532
RGBrgb(181, 165, 50)
HSLhsl(53, 57%, 45%)
HSVhsv(53, 72%, 71%)
CMYKcmyk(0%, 8.8%, 72.4%, 29%)
CIE-LABlab(67.25, -7.11, 58.37)
CIE-LCHlch(67.25, 58.80, 96.94°)
OKLaboklab(71.53% -0.0255 0.1293)
OKLCHoklch(71.53% 0.132 101.2)
XYZxyz(33.0884, 36.9658, 8.4092)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A532 #3242B5
analogous
#B56432 #B5A532 #83B532
triadic
#B5A532 #32B5A5 #A532B5
tetradic
#B5A532 #32B564 #3242B5 #B53283
square
#B5A532 #32B564 #3242B5 #B53283
split-complementary
#B5A532 #3283B5 #6432B5
monochromatic
#554E18 #857925 #B5A532 #D0C154 #DDD284

Accessibility & contrast

On white

2.50
#B5A532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B5A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A532
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A532#FFFFFF#000000##000000
##B5A5321.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01F
Deuteranopia (green-blind)
#B9A739
Tritanopia (blue-blind)
#C3998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a532;
/* rgb */ color: rgb(181, 165, 50);
/* oklch */ color: oklch(71.5% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#cfbf72',
    500: '#b5a532',
    950: '#000000',
  },
}
SCSS
$custom: #b5a532;
$custom-light: #cfbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a532",
  "rgb": {
    "r": 181,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 52.672,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71527,
    "c": 0.13178,
    "h": 101.2
  },
  "luminance": 0.36964
}

Semantic roles & 50–950 ramp

primary
#B5A532
secondary
#7C85C7
accent
#5AE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A532

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

Preview Lab → · Contrast checker → · Palette generator →

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