#B5CB37#B5CB37

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

Color values

HEX#B5CB37
RGBrgb(181, 203, 55)
HSLhsl(69, 59%, 51%)
HSVhsv(69, 73%, 80%)
CMYKcmyk(10.8%, 0%, 72.9%, 20.4%)
CIE-LABlab(77.76, -26.05, 66.74)
CIE-LCHlch(77.76, 71.64, 111.32°)
OKLaboklab(79.94% -0.078 0.1478)
OKLCHoklch(79.94% 0.167 117.8)
XYZxyz(41.1025, 52.8119, 11.6421)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CB37 #4D37CB
analogous
#CB9737 #B5CB37 #6BCB37
triadic
#B5CB37 #37B5CB #CB37B5
tetradic
#B5CB37 #37CB97 #4D37CB #CB376B
square
#B5CB37 #37CB97 #4D37CB #CB376B
split-complementary
#B5CB37 #376BCB #9737CB
monochromatic
#606C1C #8B9C29 #B5CB37 #C7D868 #D9E498

Accessibility & contrast

On white

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

On black

11.56
#B5CB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CB37
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CB37#FFFFFF#000000##000000
##B5CB371.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C019
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#C0C0AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5cb37;
/* rgb */ color: rgb(181, 203, 55);
/* oklch */ color: oklch(79.9% 0.167 117.8);
Tailwind
colors: {
  custom: {
    50: '#cfda78',
    500: '#b5cb37',
    950: '#000000',
  },
}
SCSS
$custom: #b5cb37;
$custom-light: #cfda78;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cb37",
  "rgb": {
    "r": 181,
    "g": 203,
    "b": 55
  },
  "hsl": {
    "h": 68.919,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7994,
    "c": 0.16715,
    "h": 117.8
  },
  "luminance": 0.52811
}

Semantic roles & 50–950 ramp

primary
#B5CB37
secondary
#3B3175
accent
#46E25D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5CB37

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

Preview Lab → · Contrast checker → · Palette generator →

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