#B5AA37#B5AA37

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

Color values

HEX#B5AA37
RGBrgb(181, 170, 55)
HSLhsl(55, 53%, 46%)
HSVhsv(55, 70%, 71%)
CMYKcmyk(0%, 6.1%, 69.6%, 29%)
CIE-LABlab(68.64, -9.48, 57.81)
CIE-LCHlch(68.64, 58.58, 99.31°)
OKLaboklab(72.64% -0.0317 0.129)
OKLCHoklch(72.64% 0.133 103.8)
XYZxyz(34.1218, 38.8504, 9.3152)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA37 #3742B5
analogous
#B56B37 #B5AA37 #81B537
triadic
#B5AA37 #37B5AA #AA37B5
tetradic
#B5AA37 #37B56B #3742B5 #B53781
square
#B5AA37 #37B56B #3742B5 #B53781
split-complementary
#B5AA37 #3781B5 #6B37B5
monochromatic
#57521A #867E29 #B5AA37 #CDC35C #DCD58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AA37#FFFFFF#000000##000000
##B5AA371.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)
#B9A426
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#C29E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5aa37;
/* rgb */ color: rgb(181, 170, 55);
/* oklch */ color: oklch(72.6% 0.133 103.8);
Tailwind
colors: {
  custom: {
    50: '#cfc375',
    500: '#b5aa37',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa37;
$custom-light: #cfc375;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa37",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 54.762,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.13286,
    "h": 103.8
  },
  "luminance": 0.38849
}

Semantic roles & 50–950 ramp

primary
#B5AA37
secondary
#8288C6
accent
#58DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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