#B5DF40#B5DF40

#B5DF40 is a very light, vivid yellow-green. Relative luminance 0.630; OKLCH L 84.5% C 0.185 H 123.4°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#B5DF40
RGBrgb(181, 223, 64)
HSLhsl(76, 71%, 56%)
HSVhsv(76, 71%, 87%)
CMYKcmyk(18.8%, 0%, 71.3%, 12.5%)
CIE-LABlab(83.43, -34.95, 69.15)
CIE-LCHlch(83.43, 77.48, 116.81°)
OKLaboklab(84.52% -0.1018 0.1543)
OKLCHoklch(84.52% 0.185 123.4)
XYZxyz(46.3697, 62.9690, 14.5608)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5DF40 #6A40DF
analogous
#DFBA40 #B5DF40 #66DF40
triadic
#B5DF40 #40B5DF #DF40B5
tetradic
#B5DF40 #40DFBA #6A40DF #DF4066
square
#B5DF40 #40DFBA #6A40DF #DF4066
split-complementary
#B5DF40 #4066DF #BA40DF
monochromatic
#6E8D18 #97C120 #B5DF40 #C9E874 #DEF1A9

Accessibility & contrast

On white

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

On black

13.59
#B5DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5DF40
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5DF40#FFFFFF#000000##000000
##B5DF401.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD123
Deuteranopia (green-blind)
#E6D04E
Tritanopia (blue-blind)
#BED4C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #b5df40;
/* rgb */ color: rgb(181, 223, 64);
/* oklch */ color: oklch(84.5% 0.185 123.4);
Tailwind
colors: {
  custom: {
    50: '#cfe97f',
    500: '#b5df40',
    950: '#000000',
  },
}
SCSS
$custom: #b5df40;
$custom-light: #cfe97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5df40",
  "rgb": {
    "r": 181,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 75.849,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84522,
    "c": 0.18488,
    "h": 123.4
  },
  "luminance": 0.62969
}

Semantic roles & 50–950 ramp

primary
#B5DF40
secondary
#4B3192
accent
#3AEE69
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B5DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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