#B2DF52#B2DF52

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

Color values

HEX#B2DF52
RGBrgb(178, 223, 82)
HSLhsl(79, 69%, 60%)
HSVhsv(79, 63%, 87%)
CMYKcmyk(20.2%, 0%, 63.2%, 12.5%)
CIE-LABlab(83.36, -34.96, 62.22)
CIE-LCHlch(83.36, 71.36, 119.33°)
OKLaboklab(84.46% -0.1001 0.1424)
OKLCHoklch(84.46% 0.174 125.1)
XYZxyz(46.2710, 62.8490, 17.6744)
Luminance0.6285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2DF52 #7F52DF
analogous
#DFC552 #B2DF52 #6CDF52
triadic
#B2DF52 #52B2DF #DF52B2
tetradic
#B2DF52 #52DFC5 #7F52DF #DF526C
square
#B2DF52 #52DFC5 #7F52DF #DF526C
split-complementary
#B2DF52 #526CDF #C552DF
monochromatic
#729A1D #98CE26 #B2DF52 #C9E986 #E0F2B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2DF52#FFFFFF#000000##000000
##B2DF521.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)
#EBD140
Deuteranopia (green-blind)
#E4CF5C
Tritanopia (blue-blind)
#B9D5C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #b2df52;
/* rgb */ color: rgb(178, 223, 82);
/* oklch */ color: oklch(84.5% 0.174 125.1);
Tailwind
colors: {
  custom: {
    50: '#cce989',
    500: '#b2df52',
    950: '#000000',
  },
}
SCSS
$custom: #b2df52;
$custom-light: #cce989;
$custom-dark: #000000;
JSON
{
  "hex": "#b2df52",
  "rgb": {
    "r": 178,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 79.149,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84462,
    "c": 0.17402,
    "h": 125.1
  },
  "luminance": 0.6285
}

Semantic roles & 50–950 ramp

primary
#B2DF52
secondary
#58379E
accent
#3CEC74
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B2DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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