#B5CB32#B5CB32

#B5CB32 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 79.9% C 0.170 H 117.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#B5CB32
RGBrgb(181, 203, 50)
HSLhsl(69, 60%, 50%)
HSVhsv(69, 75%, 80%)
CMYKcmyk(10.8%, 0%, 75.4%, 20.4%)
CIE-LABlab(77.74, -26.28, 68.35)
CIE-LCHlch(77.74, 73.23, 111.03°)
OKLaboklab(79.91% -0.0791 0.1504)
OKLCHoklch(79.91% 0.17 117.7)
XYZxyz(40.9887, 52.7664, 11.0426)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CB32 #4832CB
analogous
#CB9432 #B5CB32 #69CB32
triadic
#B5CB32 #32B5CB #CB32B5
tetradic
#B5CB32 #32CB94 #4832CB #CB3269
square
#B5CB32 #32CB94 #4832CB #CB3269
split-complementary
#B5CB32 #3269CB #9432CB
monochromatic
#5D691A #899A26 #B5CB32 #C7D862 #D9E493

Accessibility & contrast

On white

1.82
#B5CB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#B5CB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CB32
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CB32#FFFFFF#000000##000000
##B5CB321.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C00A
Deuteranopia (green-blind)
#D7C140
Tritanopia (blue-blind)
#C0C0AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5cb32;
/* rgb */ color: rgb(181, 203, 50);
/* oklch */ color: oklch(79.9% 0.170 117.7);
Tailwind
colors: {
  custom: {
    50: '#cfda76',
    500: '#b5cb32',
    950: '#000000',
  },
}
SCSS
$custom: #b5cb32;
$custom-light: #cfda76;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cb32",
  "rgb": {
    "r": 181,
    "g": 203,
    "b": 50
  },
  "hsl": {
    "h": 68.627,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79909,
    "c": 0.16991,
    "h": 117.7
  },
  "luminance": 0.52766
}

Semantic roles & 50–950 ramp

primary
#B5CB32
secondary
#382E73
accent
#44E45B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5CB32

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

Preview Lab → · Contrast checker → · Palette generator →

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