#B5C732#B5C732

#B5C732 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.0% C 0.166 H 116.5°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#B5C732
RGBrgb(181, 199, 50)
HSLhsl(67, 60%, 49%)
HSVhsv(67, 75%, 78%)
CMYKcmyk(9%, 0%, 74.9%, 22%)
CIE-LABlab(76.62, -24.35, 67.30)
CIE-LCHlch(76.62, 71.57, 109.89°)
OKLaboklab(79.01% -0.0737 0.1482)
OKLCHoklch(79.01% 0.166 116.5)
XYZxyz(40.0562, 50.9015, 10.7318)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C732 #4432C7
analogous
#C78F32 #B5C732 #6BC732
triadic
#B5C732 #32B5C7 #C732B5
tetradic
#B5C732 #32C78F #4432C7 #C7326B
square
#B5C732 #32C78F #4432C7 #C7326B
split-complementary
#B5C732 #326BC7 #8F32C7
monochromatic
#5C6519 #899626 #B5C732 #C8D75F #D9E390

Accessibility & contrast

On white

1.88
#B5C732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#B5C732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C732
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C732#FFFFFF#000000##000000
##B5C7321.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC0E
Deuteranopia (green-blind)
#D3BE3F
Tritanopia (blue-blind)
#C1BCAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b5c732;
/* rgb */ color: rgb(181, 199, 50);
/* oklch */ color: oklch(79.0% 0.166 116.5);
Tailwind
colors: {
  custom: {
    50: '#cfd775',
    500: '#b5c732',
    950: '#000000',
  },
}
SCSS
$custom: #b5c732;
$custom-light: #cfd775;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c732",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 50
  },
  "hsl": {
    "h": 67.248,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79011,
    "c": 0.16552,
    "h": 116.5
  },
  "luminance": 0.50901
}

Semantic roles & 50–950 ramp

primary
#B5C732
secondary
#362E70
accent
#45E358
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C732

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

Preview Lab → · Contrast checker → · Palette generator →

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