#B6DF52#B6DF52

#B6DF52 is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 84.7% C 0.172 H 123.9°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#B6DF52
RGBrgb(182, 223, 82)
HSLhsl(77, 69%, 60%)
HSVhsv(77, 63%, 87%)
CMYKcmyk(18.4%, 0%, 63.2%, 12.5%)
CIE-LABlab(83.62, -33.42, 62.56)
CIE-LCHlch(83.62, 70.93, 118.11°)
OKLaboklab(84.73% -0.096 0.143)
OKLCHoklch(84.73% 0.172 123.9)
XYZxyz(47.2024, 63.3293, 17.7180)
Luminance0.6333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6DF52 #7B52DF
analogous
#DFC252 #B6DF52 #70DF52
triadic
#B6DF52 #52B6DF #DF52B6
tetradic
#B6DF52 #52DFC2 #7B52DF #DF5270
square
#B6DF52 #52DFC2 #7B52DF #DF5270
split-complementary
#B6DF52 #5270DF #C252DF
monochromatic
#769A1D #9DCE26 #B6DF52 #CCE986 #E2F2B9

Accessibility & contrast

On white

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

On black

13.67
#B6DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6DF52
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6DF52#FFFFFF#000000##000000
##B6DF521.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD240
Deuteranopia (green-blind)
#E6D05C
Tritanopia (blue-blind)
#BED5C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #b6df52;
/* rgb */ color: rgb(182, 223, 82);
/* oklch */ color: oklch(84.7% 0.172 123.9);
Tailwind
colors: {
  custom: {
    50: '#cfe989',
    500: '#b6df52',
    950: '#000000',
  },
}
SCSS
$custom: #b6df52;
$custom-light: #cfe989;
$custom-dark: #000000;
JSON
{
  "hex": "#b6df52",
  "rgb": {
    "r": 182,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 77.447,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84731,
    "c": 0.1723,
    "h": 123.9
  },
  "luminance": 0.6333
}

Semantic roles & 50–950 ramp

primary
#B6DF52
secondary
#55379E
accent
#3CEC6F
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B6DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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