#B5AA36#B5AA36

#B5AA36 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.134 H 103.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B5AA36
RGBrgb(181, 170, 54)
HSLhsl(55, 54%, 46%)
HSVhsv(55, 70%, 71%)
CMYKcmyk(0%, 6.1%, 70.2%, 29%)
CIE-LABlab(68.64, -9.53, 58.19)
CIE-LCHlch(68.64, 58.97, 99.30°)
OKLaboklab(72.64% -0.0319 0.1296)
OKLCHoklch(72.64% 0.134 103.8)
XYZxyz(34.0981, 38.8409, 9.1902)
Luminance0.3884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA36 #3641B5
analogous
#B56A36 #B5AA36 #80B536
triadic
#B5AA36 #36B5AA #AA36B5
tetradic
#B5AA36 #36B56A #3641B5 #B53680
square
#B5AA36 #36B56A #3641B5 #B53680
split-complementary
#B5AA36 #3680B5 #6A36B5
monochromatic
#57511A #867E28 #B5AA36 #CEC45A #DCD589

Accessibility & contrast

On white

2.40
#B5AA36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AA36#FFFFFF#000000##000000
##B5AA361.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A424
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#C39E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5aa36;
/* rgb */ color: rgb(181, 170, 54);
/* oklch */ color: oklch(72.6% 0.134 103.8);
Tailwind
colors: {
  custom: {
    50: '#cfc374',
    500: '#b5aa36',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa36;
$custom-light: #cfc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa36",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 54
  },
  "hsl": {
    "h": 54.803,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72635,
    "c": 0.13353,
    "h": 103.8
  },
  "luminance": 0.3884
}

Semantic roles & 50–950 ramp

primary
#B5AA36
secondary
#8187C6
accent
#57DD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AA36

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

Preview Lab → · Contrast checker → · Palette generator →

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