#B5A552#B5A552

#B5A552 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.106 H 98.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B5A552
RGBrgb(181, 165, 82)
HSLhsl(50, 40%, 52%)
HSVhsv(50, 55%, 71%)
CMYKcmyk(0%, 8.8%, 54.7%, 29%)
CIE-LABlab(67.53, -5.00, 44.55)
CIE-LCHlch(67.53, 44.83, 96.41°)
OKLaboklab(71.84% -0.0158 0.1046)
OKLCHoklch(71.84% 0.106 98.6)
XYZxyz(34.0354, 37.3446, 13.3964)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A552 #5262B5
analogous
#B57452 #B5A552 #94B552
triadic
#B5A552 #52B5A5 #A552B5
tetradic
#B5A552 #52B574 #5262B5 #B55294
square
#B5A552 #52B574 #5262B5 #B55294
split-complementary
#B5A552 #5294B5 #7452B5
monochromatic
#62592A #8D803C #B5A552 #C7BB7D #DAD2A8

Accessibility & contrast

On white

2.48
#B5A552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B5A552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A552
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A552#FFFFFF#000000##000000
##B5A5521.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A14A
Deuteranopia (green-blind)
#B7A756
Tritanopia (blue-blind)
#C19B92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a552;
/* rgb */ color: rgb(181, 165, 82);
/* oklch */ color: oklch(71.8% 0.106 98.6);
Tailwind
colors: {
  custom: {
    50: '#cdbf85',
    500: '#b5a552',
    950: '#000000',
  },
}
SCSS
$custom: #b5a552;
$custom-light: #cdbf85;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a552",
  "rgb": {
    "r": 181,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 50.303,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71842,
    "c": 0.10578,
    "h": 98.6
  },
  "luminance": 0.37343
}

Semantic roles & 50–950 ramp

primary
#B5A552
secondary
#9CA3C7
accent
#6BD058
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B5A552

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

Preview Lab → · Contrast checker → · Palette generator →

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