#B4DF40#B4DF40

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

Color values

HEX#B4DF40
RGBrgb(180, 223, 64)
HSLhsl(76, 71%, 56%)
HSVhsv(76, 71%, 87%)
CMYKcmyk(19.3%, 0%, 71.3%, 12.5%)
CIE-LABlab(83.36, -35.34, 69.06)
CIE-LCHlch(83.36, 77.58, 117.10°)
OKLaboklab(84.45% -0.1028 0.1542)
OKLCHoklch(84.45% 0.185 123.7)
XYZxyz(46.1360, 62.8485, 14.5499)
Luminance0.6285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4DF40 #6B40DF
analogous
#DFBA40 #B4DF40 #65DF40
triadic
#B4DF40 #40B4DF #DF40B4
tetradic
#B4DF40 #40DFBA #6B40DF #DF4065
square
#B4DF40 #40DFBA #6B40DF #DF4065
split-complementary
#B4DF40 #4065DF #BA40DF
monochromatic
#6D8D18 #96C120 #B4DF40 #C9E874 #DDF1A9

Accessibility & contrast

On white

1.55
#B4DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#B4DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4DF40
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4DF40#FFFFFF#000000##000000
##B4DF401.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4df40;
/* rgb */ color: rgb(180, 223, 64);
/* oklch */ color: oklch(84.5% 0.185 123.7);
Tailwind
colors: {
  custom: {
    50: '#cee97f',
    500: '#b4df40',
    950: '#000000',
  },
}
SCSS
$custom: #b4df40;
$custom-light: #cee97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4df40",
  "rgb": {
    "r": 180,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 76.226,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84454,
    "c": 0.18531,
    "h": 123.7
  },
  "luminance": 0.62849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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