#B5A832#B5A832

#B5A832 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.134 H 102.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#B5A832
RGBrgb(181, 168, 50)
HSLhsl(54, 57%, 45%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 7.2%, 72.4%, 29%)
CIE-LABlab(68.07, -8.69, 59.16)
CIE-LCHlch(68.07, 59.79, 98.35°)
OKLaboklab(72.17% -0.03 0.131)
OKLCHoklch(72.17% 0.134 102.9)
XYZxyz(33.6359, 38.0607, 8.5917)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A832 #323FB5
analogous
#B56732 #B5A832 #80B532
triadic
#B5A832 #32B5A8 #A832B5
tetradic
#B5A832 #32B567 #323FB5 #B53280
square
#B5A832 #32B567 #323FB5 #B53280
split-complementary
#B5A832 #3280B5 #6732B5
monochromatic
#554F18 #857B25 #B5A832 #D0C454 #DDD484

Accessibility & contrast

On white

2.44
#B5A832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#B5A832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A832
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A832#FFFFFF#000000##000000
##B5A8321.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A31E
Deuteranopia (green-blind)
#BBA93A
Tritanopia (blue-blind)
#C39C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b5a832;
/* rgb */ color: rgb(181, 168, 50);
/* oklch */ color: oklch(72.2% 0.134 102.9);
Tailwind
colors: {
  custom: {
    50: '#cfc172',
    500: '#b5a832',
    950: '#000000',
  },
}
SCSS
$custom: #b5a832;
$custom-light: #cfc172;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a832",
  "rgb": {
    "r": 181,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 54.046,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72173,
    "c": 0.13435,
    "h": 102.9
  },
  "luminance": 0.38059
}

Semantic roles & 50–950 ramp

primary
#B5A832
secondary
#7C84C7
accent
#57E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A832

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

Preview Lab → · Contrast checker → · Palette generator →

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