#B5CD39#B5CD39

#B5CD39 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.4% C 0.168 H 118.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#B5CD39
RGBrgb(181, 205, 57)
HSLhsl(70, 60%, 51%)
HSVhsv(70, 72%, 80%)
CMYKcmyk(11.7%, 0%, 72.2%, 19.6%)
CIE-LABlab(78.33, -26.91, 66.60)
CIE-LCHlch(78.33, 71.83, 112.00°)
OKLaboklab(80.4% -0.0802 0.1479)
OKLCHoklch(80.4% 0.168 118.5)
XYZxyz(41.6268, 53.7822, 12.0582)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CD39 #5139CD
analogous
#CD9B39 #B5CD39 #6BCD39
triadic
#B5CD39 #39B5CD #CD39B5
tetradic
#B5CD39 #39CD9B #5139CD #CD396B
square
#B5CD39 #39CD9B #5139CD #CD396B
split-complementary
#B5CD39 #396BCD #9B39CD
monochromatic
#626F1C #8DA028 #B5CD39 #C7D96A #DAE69B

Accessibility & contrast

On white

1.79
#B5CD39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#B5CD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CD39
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CD39#FFFFFF#000000##000000
##B5CD391.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC21C
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#C0C2B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b5cd39;
/* rgb */ color: rgb(181, 205, 57);
/* oklch */ color: oklch(80.4% 0.168 118.5);
Tailwind
colors: {
  custom: {
    50: '#cfdc79',
    500: '#b5cd39',
    950: '#000000',
  },
}
SCSS
$custom: #b5cd39;
$custom-light: #cfdc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cd39",
  "rgb": {
    "r": 181,
    "g": 205,
    "b": 57
  },
  "hsl": {
    "h": 69.73,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80402,
    "c": 0.16824,
    "h": 118.5
  },
  "luminance": 0.53782
}

Semantic roles & 50–950 ramp

primary
#B5CD39
secondary
#3D3279
accent
#45E35F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CD39

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

Preview Lab → · Contrast checker → · Palette generator →

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