#B5A135#B5A135

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

Color values

HEX#B5A135
RGBrgb(181, 161, 53)
HSLhsl(51, 55%, 46%)
HSVhsv(51, 71%, 71%)
CMYKcmyk(0%, 11%, 70.7%, 29%)
CIE-LABlab(66.19, -4.83, 56.15)
CIE-LCHlch(66.19, 56.36, 94.92°)
OKLaboklab(70.69% -0.0187 0.1252)
OKLCHoklch(70.69% 0.127 98.5)
XYZxyz(32.4451, 35.5721, 8.5246)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A135 #3549B5
analogous
#B56135 #B5A135 #89B535
triadic
#B5A135 #35B5A1 #A135B5
tetradic
#B5A135 #35B561 #3549B5 #B53589
square
#B5A135 #35B561 #3549B5 #B53589
split-complementary
#B5A135 #3589B5 #6135B5
monochromatic
#564D19 #867727 #B5A135 #CEBC59 #DCCF88

Accessibility & contrast

On white

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

On black

8.11
#B5A135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A135
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A135#FFFFFF#000000##000000
##B5A1351.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5a135;
/* rgb */ color: rgb(181, 161, 53);
/* oklch */ color: oklch(70.7% 0.127 98.5);
Tailwind
colors: {
  custom: {
    50: '#cfbc73',
    500: '#b5a135',
    950: '#000000',
  },
}
SCSS
$custom: #b5a135;
$custom-light: #cfbc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a135",
  "rgb": {
    "r": 181,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 50.625,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70692,
    "c": 0.12656,
    "h": 98.5
  },
  "luminance": 0.35571
}

Semantic roles & 50–950 ramp

primary
#B5A135
secondary
#808BC6
accent
#61DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B5A135

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

Preview Lab → · Contrast checker → · Palette generator →

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