#B5B352#B5B352

#B5B352 is a light, moderate yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.120 H 107.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B5B352
RGBrgb(181, 179, 82)
HSLhsl(59, 40%, 52%)
HSVhsv(59, 55%, 71%)
CMYKcmyk(0%, 1.1%, 54.7%, 29%)
CIE-LABlab(71.33, -12.34, 48.95)
CIE-LCHlch(71.33, 50.48, 104.15°)
OKLaboklab(74.86% -0.0368 0.1141)
OKLCHoklch(74.86% 0.12 107.9)
XYZxyz(36.7001, 42.6742, 14.2847)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B352 #5254B5
analogous
#B58252 #B5B352 #86B552
triadic
#B5B352 #52B5B3 #B352B5
tetradic
#B5B352 #52B582 #5254B5 #B55286
square
#B5B352 #52B582 #5254B5 #B55286
split-complementary
#B5B352 #5286B5 #8252B5
monochromatic
#62612A #8D8C3C #B5B352 #C7C67D #DAD9A8

Accessibility & contrast

On white

2.20
#B5B352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B5B352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B352
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B352#FFFFFF#000000##000000
##B5B3521.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#C2B057
Tritanopia (blue-blind)
#C1A99D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b352;
/* rgb */ color: rgb(181, 179, 82);
/* oklch */ color: oklch(74.9% 0.120 107.9);
Tailwind
colors: {
  custom: {
    50: '#cdc986',
    500: '#b5b352',
    950: '#000000',
  },
}
SCSS
$custom: #b5b352;
$custom-light: #cdc986;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b352",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 58.788,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7486,
    "c": 0.11989,
    "h": 107.9
  },
  "luminance": 0.42673
}

Semantic roles & 50–950 ramp

primary
#B5B352
secondary
#9C9DC7
accent
#5AD058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5B352

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

Preview Lab → · Contrast checker → · Palette generator →

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