#B5DF52#B5DF52

#B5DF52 is a very light, vivid yellow-green. Relative luminance 0.632; OKLCH L 84.7% C 0.173 H 124.2°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#B5DF52
RGBrgb(181, 223, 82)
HSLhsl(78, 69%, 60%)
HSVhsv(78, 63%, 87%)
CMYKcmyk(18.8%, 0%, 63.2%, 12.5%)
CIE-LABlab(83.55, -33.81, 62.47)
CIE-LCHlch(83.55, 71.03, 118.42°)
OKLaboklab(84.66% -0.0971 0.1429)
OKLCHoklch(84.66% 0.173 124.2)
XYZxyz(46.9670, 63.2079, 17.7070)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5DF52 #7C52DF
analogous
#DFC252 #B5DF52 #6FDF52
triadic
#B5DF52 #52B5DF #DF52B5
tetradic
#B5DF52 #52DFC2 #7C52DF #DF526F
square
#B5DF52 #52DFC2 #7C52DF #DF526F
split-complementary
#B5DF52 #526FDF #C252DF
monochromatic
#759A1D #9CCE26 #B5DF52 #CBE986 #E1F2B9

Accessibility & contrast

On white

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

On black

13.64
#B5DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5DF52
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5DF52#FFFFFF#000000##000000
##B5DF521.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5df52;
/* rgb */ color: rgb(181, 223, 82);
/* oklch */ color: oklch(84.7% 0.173 124.2);
Tailwind
colors: {
  custom: {
    50: '#cee989',
    500: '#b5df52',
    950: '#000000',
  },
}
SCSS
$custom: #b5df52;
$custom-light: #cee989;
$custom-dark: #000000;
JSON
{
  "hex": "#b5df52",
  "rgb": {
    "r": 181,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 77.872,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84663,
    "c": 0.17272,
    "h": 124.2
  },
  "luminance": 0.63208
}

Semantic roles & 50–950 ramp

primary
#B5DF52
secondary
#56379E
accent
#3CEC70
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B5DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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