#B5A549#B5A549

#B5A549 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.114 H 99.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B5A549
RGBrgb(181, 165, 73)
HSLhsl(51, 43%, 50%)
HSVhsv(51, 60%, 71%)
CMYKcmyk(0%, 8.8%, 59.7%, 29%)
CIE-LABlab(67.44, -5.71, 48.75)
CIE-LCHlch(67.44, 49.08, 96.68°)
OKLaboklab(71.74% -0.0189 0.1126)
OKLCHoklch(71.74% 0.114 99.5)
XYZxyz(33.7151, 37.2165, 11.7096)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A549 #4959B5
analogous
#B56F49 #B5A549 #8FB549
triadic
#B5A549 #49B5A5 #A549B5
tetradic
#B5A549 #49B56F #4959B5 #B5498F
square
#B5A549 #49B56F #4959B5 #B5498F
split-complementary
#B5A549 #498FB5 #6F49B5
monochromatic
#5E5526 #897D37 #B5A549 #C7BB74 #D9D0A0

Accessibility & contrast

On white

2.49
#B5A549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B5A549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A549
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A549#FFFFFF#000000##000000
##B5A5491.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A13F
Deuteranopia (green-blind)
#B8A74E
Tritanopia (blue-blind)
#C29A91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a549;
/* rgb */ color: rgb(181, 165, 73);
/* oklch */ color: oklch(71.7% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#cebf7f',
    500: '#b5a549',
    950: '#000000',
  },
}
SCSS
$custom: #b5a549;
$custom-light: #cebf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a549",
  "rgb": {
    "r": 181,
    "g": 165,
    "b": 73
  },
  "hsl": {
    "h": 51.111,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71736,
    "c": 0.11416,
    "h": 99.5
  },
  "luminance": 0.37215
}

Semantic roles & 50–950 ramp

primary
#B5A549
secondary
#949CC5
accent
#68D255
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5A549

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

Preview Lab → · Contrast checker → · Palette generator →

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