#B5B531#B5B531

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

Color values

HEX#B5B531
RGBrgb(181, 181, 49)
HSLhsl(60, 57%, 45%)
HSVhsv(60, 73%, 71%)
CMYKcmyk(0%, 0%, 72.9%, 29%)
CIE-LABlab(71.62, -15.45, 62.93)
CIE-LCHlch(71.62, 64.80, 103.80°)
OKLaboklab(75% -0.0491 0.1388)
OKLCHoklch(75% 0.147 109.5)
XYZxyz(36.1356, 43.0943, 9.3197)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B531 #3131B5
analogous
#B57331 #B5B531 #73B531
triadic
#B5B531 #31B5B5 #B531B5
tetradic
#B5B531 #31B573 #3131B5 #B53173
square
#B5B531 #31B573 #3131B5 #B53173
split-complementary
#B5B531 #3173B5 #7331B5
monochromatic
#555517 #858524 #B5B531 #D0D053 #DDDD83

Accessibility & contrast

On white

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

On black

9.62
#B5B531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B531
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B531#FFFFFF#000000##000000
##B5B5311.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD16
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#C2A99C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b531;
/* rgb */ color: rgb(181, 181, 49);
/* oklch */ color: oklch(75.0% 0.147 109.5);
Tailwind
colors: {
  custom: {
    50: '#cfca73',
    500: '#b5b531',
    950: '#000000',
  },
}
SCSS
$custom: #b5b531;
$custom-light: #cfca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b531",
  "rgb": {
    "r": 181,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75003,
    "c": 0.14718,
    "h": 109.5
  },
  "luminance": 0.43093
}

Semantic roles & 50–950 ramp

primary
#B5B531
secondary
#7B7BC7
accent
#47E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B531

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

Preview Lab → · Contrast checker → · Palette generator →

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