#B4DF42#B4DF42

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

Color values

HEX#B4DF42
RGBrgb(180, 223, 66)
HSLhsl(76, 71%, 57%)
HSVhsv(76, 70%, 87%)
CMYKcmyk(19.3%, 0%, 70.4%, 12.5%)
CIE-LABlab(83.37, -35.23, 68.38)
CIE-LCHlch(83.37, 76.92, 117.26°)
OKLaboklab(84.47% -0.1023 0.1531)
OKLCHoklch(84.47% 0.184 123.8)
XYZxyz(46.1939, 62.8717, 14.8550)
Luminance0.6287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4DF42 #6D42DF
analogous
#DFBC42 #B4DF42 #66DF42
triadic
#B4DF42 #42B4DF #DF42B4
tetradic
#B4DF42 #42DFBC #6D42DF #DF4266
square
#B4DF42 #42DFBC #6D42DF #DF4266
split-complementary
#B4DF42 #4266DF #BC42DF
monochromatic
#6E8E18 #96C321 #B4DF42 #C9E876 #DEF1AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4DF42#FFFFFF#000000##000000
##B4DF421.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)
#ECD127
Deuteranopia (green-blind)
#E6CF4F
Tritanopia (blue-blind)
#BDD4C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #b4df42;
/* rgb */ color: rgb(180, 223, 66);
/* oklch */ color: oklch(84.5% 0.184 123.8);
Tailwind
colors: {
  custom: {
    50: '#cee980',
    500: '#b4df42',
    950: '#000000',
  },
}
SCSS
$custom: #b4df42;
$custom-light: #cee980;
$custom-dark: #000000;
JSON
{
  "hex": "#b4df42",
  "rgb": {
    "r": 180,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 76.433,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84468,
    "c": 0.18411,
    "h": 123.8
  },
  "luminance": 0.62872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4DF42

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

Preview Lab → · Contrast checker → · Palette generator →

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