#B1DF51#B1DF51

#B1DF51 is a very light, vivid yellow-green. Relative luminance 0.627; OKLCH L 84.4% C 0.175 H 125.3°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#B1DF51
RGBrgb(177, 223, 81)
HSLhsl(79, 69%, 60%)
HSVhsv(79, 64%, 87%)
CMYKcmyk(20.6%, 0%, 63.7%, 12.5%)
CIE-LABlab(83.29, -35.41, 62.53)
CIE-LCHlch(83.29, 71.86, 119.52°)
OKLaboklab(84.39% -0.1013 0.1429)
OKLCHoklch(84.39% 0.175 125.3)
XYZxyz(46.0045, 62.7160, 17.4647)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1DF51 #7F51DF
analogous
#DFC651 #B1DF51 #6ADF51
triadic
#B1DF51 #51B1DF #DF51B1
tetradic
#B1DF51 #51DFC6 #7F51DF #DF516A
square
#B1DF51 #51DFC6 #7F51DF #DF516A
split-complementary
#B1DF51 #516ADF #C651DF
monochromatic
#71991C #97CD26 #B1DF51 #C8E985 #DFF2B8

Accessibility & contrast

On white

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

On black

13.54
#B1DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1DF51
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1DF51#FFFFFF#000000##000000
##B1DF511.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13F
Deuteranopia (green-blind)
#E4CF5C
Tritanopia (blue-blind)
#B8D5C2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #b1df51;
/* rgb */ color: rgb(177, 223, 81);
/* oklch */ color: oklch(84.4% 0.175 125.3);
Tailwind
colors: {
  custom: {
    50: '#cbe988',
    500: '#b1df51',
    950: '#000000',
  },
}
SCSS
$custom: #b1df51;
$custom-light: #cbe988;
$custom-dark: #000000;
JSON
{
  "hex": "#b1df51",
  "rgb": {
    "r": 177,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 79.437,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84387,
    "c": 0.17522,
    "h": 125.3
  },
  "luminance": 0.62717
}

Semantic roles & 50–950 ramp

primary
#B1DF51
secondary
#58379D
accent
#3CEC75
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B1DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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