#B5AA39#B5AA39

#B5AA39 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.131 H 103.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B5AA39
RGBrgb(181, 170, 57)
HSLhsl(55, 52%, 47%)
HSVhsv(55, 69%, 71%)
CMYKcmyk(0%, 6.1%, 68.5%, 29%)
CIE-LABlab(68.66, -9.37, 57.03)
CIE-LCHlch(68.66, 57.79, 99.33°)
OKLaboklab(72.66% -0.0312 0.1277)
OKLCHoklch(72.66% 0.131 103.7)
XYZxyz(34.1707, 38.8700, 9.5728)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA39 #3944B5
analogous
#B56C39 #B5AA39 #82B539
triadic
#B5AA39 #39B5AA #AA39B5
tetradic
#B5AA39 #39B56C #3944B5 #B53982
square
#B5AA39 #39B56C #3944B5 #B53982
split-complementary
#B5AA39 #3982B5 #6C39B5
monochromatic
#58531C #867E2A #B5AA39 #CDC35F #DBD48D

Accessibility & contrast

On white

2.39
#B5AA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B5AA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA39
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA39#FFFFFF#000000##000000
##B5AA391.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A429
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#C29E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5aa39;
/* rgb */ color: rgb(181, 170, 57);
/* oklch */ color: oklch(72.7% 0.131 103.7);
Tailwind
colors: {
  custom: {
    50: '#cec376',
    500: '#b5aa39',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa39;
$custom-light: #cec376;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa39",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 54.677,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.13146,
    "h": 103.7
  },
  "luminance": 0.38869
}

Semantic roles & 50–950 ramp

primary
#B5AA39
secondary
#848AC6
accent
#59DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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