#B5A537#B5A537

#B5A537 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.128 H 100.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B5A537
RGBrgb(181, 165, 55)
HSLhsl(52, 53%, 46%)
HSVhsv(52, 70%, 71%)
CMYKcmyk(0%, 8.8%, 69.6%, 29%)
CIE-LABlab(67.29, -6.85, 56.45)
CIE-LCHlch(67.29, 56.86, 96.92°)
OKLaboklab(71.57% -0.0242 0.1261)
OKLCHoklch(71.57% 0.128 100.9)
XYZxyz(33.2022, 37.0113, 9.0087)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A537 #3747B5
analogous
#B56637 #B5A537 #86B537
triadic
#B5A537 #37B5A5 #A537B5
tetradic
#B5A537 #37B566 #3747B5 #B53786
square
#B5A537 #37B566 #3747B5 #B53786
split-complementary
#B5A537 #3786B5 #6637B5
monochromatic
#574F1A #867A29 #B5A537 #CDBF5C #DCD18B

Accessibility & contrast

On white

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

On black

8.40
#B5A537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A537
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A537#FFFFFF#000000##000000
##B5A5371.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#C3998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a537;
/* rgb */ color: rgb(181, 165, 55);
/* oklch */ color: oklch(71.6% 0.128 100.9);
Tailwind
colors: {
  custom: {
    50: '#cfbf74',
    500: '#b5a537',
    950: '#000000',
  },
}
SCSS
$custom: #b5a537;
$custom-light: #cfbf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a537",
  "rgb": {
    "r": 181,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 52.381,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71565,
    "c": 0.12845,
    "h": 100.9
  },
  "luminance": 0.3701
}

Semantic roles & 50–950 ramp

primary
#B5A537
secondary
#828BC6
accent
#5EDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A537

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

Preview Lab → · Contrast checker → · Palette generator →

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