#B5A237#B5A237

#B5A237 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.126 H 99.0°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B5A237
RGBrgb(181, 162, 55)
HSLhsl(51, 53%, 46%)
HSVhsv(51, 70%, 71%)
CMYKcmyk(0%, 10.5%, 69.6%, 29%)
CIE-LABlab(66.48, -5.26, 55.63)
CIE-LCHlch(66.48, 55.88, 95.40°)
OKLaboklab(70.92% -0.0197 0.1244)
OKLCHoklch(70.92% 0.126 99)
XYZxyz(32.6675, 35.9418, 8.8304)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A237 #374AB5
analogous
#B56337 #B5A237 #89B537
triadic
#B5A237 #37B5A2 #A237B5
tetradic
#B5A237 #37B563 #374AB5 #B53789
square
#B5A237 #37B563 #374AB5 #B53789
split-complementary
#B5A237 #3789B5 #6337B5
monochromatic
#574E1A #867829 #B5A237 #CDBC5C #DCCF8B

Accessibility & contrast

On white

2.56
#B5A237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B5A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A237
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A237#FFFFFF#000000##000000
##B5A2371.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E28
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#C3968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a237;
/* rgb */ color: rgb(181, 162, 55);
/* oklch */ color: oklch(70.9% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#cfbd74',
    500: '#b5a237',
    950: '#000000',
  },
}
SCSS
$custom: #b5a237;
$custom-light: #cfbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a237",
  "rgb": {
    "r": 181,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 50.952,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70922,
    "c": 0.12596,
    "h": 99
  },
  "luminance": 0.3594
}

Semantic roles & 50–950 ramp

primary
#B5A237
secondary
#828CC6
accent
#61DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A237

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

Preview Lab → · Contrast checker → · Palette generator →

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