#B5B437#B5B437

#B5B437 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.142 H 108.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B5B437
RGBrgb(181, 180, 55)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 70%, 71%)
CMYKcmyk(0%, 0.6%, 69.6%, 29%)
CIE-LABlab(71.38, -14.65, 60.53)
CIE-LCHlch(71.38, 62.28, 103.60°)
OKLaboklab(74.82% -0.0462 0.1348)
OKLCHoklch(74.82% 0.142 108.9)
XYZxyz(36.0682, 42.7432, 9.9640)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B437 #3738B5
analogous
#B57537 #B5B437 #77B537
triadic
#B5B437 #37B5B4 #B437B5
tetradic
#B5B437 #37B575 #3738B5 #B53777
square
#B5B437 #37B575 #3738B5 #B53777
split-complementary
#B5B437 #3777B5 #7537B5
monochromatic
#57571A #868529 #B5B437 #CDCD5C #DCDB8B

Accessibility & contrast

On white

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

On black

9.55
#B5B437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B437
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B437#FFFFFF#000000##000000
##B5B4371.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#C2A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b437;
/* rgb */ color: rgb(181, 180, 55);
/* oklch */ color: oklch(74.8% 0.142 108.9);
Tailwind
colors: {
  custom: {
    50: '#ceca76',
    500: '#b5b437',
    950: '#000000',
  },
}
SCSS
$custom: #b5b437;
$custom-light: #ceca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b437",
  "rgb": {
    "r": 181,
    "g": 180,
    "b": 55
  },
  "hsl": {
    "h": 59.524,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74824,
    "c": 0.14248,
    "h": 108.9
  },
  "luminance": 0.42742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5B437

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

Preview Lab → · Contrast checker → · Palette generator →

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