#B5DF51#B5DF51

#B5DF51 is a very light, vivid yellow-green. Relative luminance 0.632; OKLCH L 84.7% C 0.173 H 124.1°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#B5DF51
RGBrgb(181, 223, 81)
HSLhsl(78, 69%, 60%)
HSVhsv(78, 64%, 87%)
CMYKcmyk(18.8%, 0%, 63.7%, 12.5%)
CIE-LABlab(83.54, -33.88, 62.87)
CIE-LCHlch(83.54, 71.42, 118.32°)
OKLaboklab(84.65% -0.0974 0.1436)
OKLCHoklch(84.65% 0.173 124.1)
XYZxyz(46.9293, 63.1928, 17.5080)
Luminance0.6319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5DF51 #7B51DF
analogous
#DFC251 #B5DF51 #6EDF51
triadic
#B5DF51 #51B5DF #DF51B5
tetradic
#B5DF51 #51DFC2 #7B51DF #DF516E
square
#B5DF51 #51DFC2 #7B51DF #DF516E
split-complementary
#B5DF51 #516EDF #C251DF
monochromatic
#74991C #9CCD26 #B5DF51 #CBE985 #E1F2B8

Accessibility & contrast

On white

1.54
#B5DF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#B5DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5DF51
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5DF51#FFFFFF#000000##000000
##B5DF511.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#BDD5C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #b5df51;
/* rgb */ color: rgb(181, 223, 81);
/* oklch */ color: oklch(84.7% 0.173 124.1);
Tailwind
colors: {
  custom: {
    50: '#cee988',
    500: '#b5df51',
    950: '#000000',
  },
}
SCSS
$custom: #b5df51;
$custom-light: #cee988;
$custom-dark: #000000;
JSON
{
  "hex": "#b5df51",
  "rgb": {
    "r": 181,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 77.746,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84654,
    "c": 0.17347,
    "h": 124.1
  },
  "luminance": 0.63193
}

Semantic roles & 50–950 ramp

primary
#B5DF51
secondary
#55379D
accent
#3CEC70
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B5DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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