#B5B537#B5B537

#B5B537 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.143 H 109.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B5B537
RGBrgb(181, 181, 55)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 70%, 71%)
CMYKcmyk(0%, 0%, 69.6%, 29%)
CIE-LABlab(71.66, -15.16, 60.80)
CIE-LCHlch(71.66, 62.66, 104.00°)
OKLaboklab(75.04% -0.0477 0.1353)
OKLCHoklch(75.04% 0.143 109.4)
XYZxyz(36.2708, 43.1484, 10.0315)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B537 #3737B5
analogous
#B57637 #B5B537 #76B537
triadic
#B5B537 #37B5B5 #B537B5
tetradic
#B5B537 #37B576 #3737B5 #B53776
square
#B5B537 #37B576 #3737B5 #B53776
split-complementary
#B5B537 #3776B5 #7637B5
monochromatic
#57571A #868629 #B5B537 #CDCD5C #DCDC8B

Accessibility & contrast

On white

2.18
#B5B537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#B5B537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B537
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B537#FFFFFF#000000##000000
##B5B5371.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD22
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b537;
/* rgb */ color: rgb(181, 181, 55);
/* oklch */ color: oklch(75.0% 0.143 109.4);
Tailwind
colors: {
  custom: {
    50: '#ceca76',
    500: '#b5b537',
    950: '#000000',
  },
}
SCSS
$custom: #b5b537;
$custom-light: #ceca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b537",
  "rgb": {
    "r": 181,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75044,
    "c": 0.14348,
    "h": 109.4
  },
  "luminance": 0.43147
}

Semantic roles & 50–950 ramp

primary
#B5B537
secondary
#8282C6
accent
#4BDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B537

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

Preview Lab → · Contrast checker → · Palette generator →

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