#B5A137#B5A137

#B5A137 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.125 H 98.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B5A137
RGBrgb(181, 161, 55)
HSLhsl(50, 53%, 46%)
HSVhsv(50, 70%, 71%)
CMYKcmyk(0%, 11%, 69.6%, 29%)
CIE-LABlab(66.21, -4.73, 55.36)
CIE-LCHlch(66.21, 55.56, 94.88°)
OKLaboklab(70.71% -0.0182 0.1238)
OKLCHoklch(70.71% 0.125 98.4)
XYZxyz(32.4920, 35.5909, 8.7720)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A137 #374BB5
analogous
#B56237 #B5A137 #8AB537
triadic
#B5A137 #37B5A1 #A137B5
tetradic
#B5A137 #37B562 #374BB5 #B5378A
square
#B5A137 #37B562 #374BB5 #B5378A
split-complementary
#B5A137 #378AB5 #6237B5
monochromatic
#574D1A #867729 #B5A137 #CDBB5C #DCCF8B

Accessibility & contrast

On white

2.59
#B5A137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B5A137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A137
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A137#FFFFFF#000000##000000
##B5A1371.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D28
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#C3958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b5a137;
/* rgb */ color: rgb(181, 161, 55);
/* oklch */ color: oklch(70.7% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#cfbc74',
    500: '#b5a137',
    950: '#000000',
  },
}
SCSS
$custom: #b5a137;
$custom-light: #cfbc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a137",
  "rgb": {
    "r": 181,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 50.476,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70709,
    "c": 0.12516,
    "h": 98.4
  },
  "luminance": 0.35589
}

Semantic roles & 50–950 ramp

primary
#B5A137
secondary
#828DC6
accent
#62DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A137

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

Preview Lab → · Contrast checker → · Palette generator →

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