#B4DF52#B4DF52

#B4DF52 is a very light, vivid yellow-green. Relative luminance 0.631; OKLCH L 84.6% C 0.173 H 124.5°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#B4DF52
RGBrgb(180, 223, 82)
HSLhsl(78, 69%, 60%)
HSVhsv(78, 63%, 87%)
CMYKcmyk(19.3%, 0%, 63.2%, 12.5%)
CIE-LABlab(83.49, -34.19, 62.39)
CIE-LCHlch(83.49, 71.14, 118.72°)
OKLaboklab(84.6% -0.0981 0.1427)
OKLCHoklch(84.6% 0.173 124.5)
XYZxyz(46.7333, 63.0874, 17.6960)
Luminance0.6309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4DF52 #7D52DF
analogous
#DFC452 #B4DF52 #6EDF52
triadic
#B4DF52 #52B4DF #DF52B4
tetradic
#B4DF52 #52DFC4 #7D52DF #DF526E
square
#B4DF52 #52DFC4 #7D52DF #DF526E
split-complementary
#B4DF52 #526EDF #C452DF
monochromatic
#749A1D #9BCE26 #B4DF52 #CAE986 #E1F2B9

Accessibility & contrast

On white

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

On black

13.62
#B4DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4DF52
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4DF52#FFFFFF#000000##000000
##B4DF521.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4df52;
/* rgb */ color: rgb(180, 223, 82);
/* oklch */ color: oklch(84.6% 0.173 124.5);
Tailwind
colors: {
  custom: {
    50: '#cee989',
    500: '#b4df52',
    950: '#000000',
  },
}
SCSS
$custom: #b4df52;
$custom-light: #cee989;
$custom-dark: #000000;
JSON
{
  "hex": "#b4df52",
  "rgb": {
    "r": 180,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 78.298,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84596,
    "c": 0.17315,
    "h": 124.5
  },
  "luminance": 0.63088
}

Semantic roles & 50–950 ramp

primary
#B4DF52
secondary
#57379E
accent
#3CEC72
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B4DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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