#B5A136#B5A136

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

Color values

HEX#B5A136
RGBrgb(181, 161, 54)
HSLhsl(51, 54%, 46%)
HSVhsv(51, 70%, 71%)
CMYKcmyk(0%, 11%, 70.2%, 29%)
CIE-LABlab(66.20, -4.78, 55.76)
CIE-LCHlch(66.20, 55.96, 94.90°)
OKLaboklab(70.7% -0.0185 0.1245)
OKLCHoklch(70.7% 0.126 98.4)
XYZxyz(32.4683, 35.5814, 8.6470)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A136 #364AB5
analogous
#B56136 #B5A136 #89B536
triadic
#B5A136 #36B5A1 #A136B5
tetradic
#B5A136 #36B561 #364AB5 #B53689
square
#B5A136 #36B561 #364AB5 #B53689
split-complementary
#B5A136 #3689B5 #6136B5
monochromatic
#574D1A #867728 #B5A136 #CEBC5A #DCCF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A136#FFFFFF#000000##000000
##B5A1361.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)
#B19D27
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#C3958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b5a136;
/* rgb */ color: rgb(181, 161, 54);
/* oklch */ color: oklch(70.7% 0.126 98.4);
Tailwind
colors: {
  custom: {
    50: '#cfbc73',
    500: '#b5a136',
    950: '#000000',
  },
}
SCSS
$custom: #b5a136;
$custom-light: #cfbc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a136",
  "rgb": {
    "r": 181,
    "g": 161,
    "b": 54
  },
  "hsl": {
    "h": 50.551,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.707,
    "c": 0.12586,
    "h": 98.4
  },
  "luminance": 0.3558
}

Semantic roles & 50–950 ramp

primary
#B5A136
secondary
#818CC6
accent
#62DD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B5A136

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

Preview Lab → · Contrast checker → · Palette generator →

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