#B1DF97#B1DF97

#B1DF97 is a very light, moderate yellow-green. Relative luminance 0.644; OKLCH L 85.4% C 0.108 H 134.7°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#B1DF97
RGBrgb(177, 223, 151)
HSLhsl(98, 53%, 73%)
HSVhsv(98, 32%, 87%)
CMYKcmyk(20.6%, 0%, 32.3%, 12.5%)
CIE-LABlab(84.15, -27.78, 30.57)
CIE-LCHlch(84.15, 41.31, 132.26°)
OKLaboklab(85.36% -0.0756 0.0765)
OKLCHoklch(85.36% 0.108 134.7)
XYZxyz(50.1038, 64.3557, 39.0543)
Luminance0.6436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1DF97 #C597DF
analogous
#D5DF97 #B1DF97 #97DFA1
triadic
#B1DF97 #97B1DF #DF97B1
tetradic
#B1DF97 #97D5DF #C597DF #DFA197
square
#B1DF97 #97D5DF #C597DF #DFA197
split-complementary
#B1DF97 #A197DF #DF97D5
monochromatic
#6BC03B #8ED168 #B1DF97 #D4EDC6 #EDF8E8

Accessibility & contrast

On white

1.51
#B1DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#B1DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1DF97
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1DF97#FFFFFF#000000##000000
##B1DF971.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D492
Deuteranopia (green-blind)
#DDD09B
Tritanopia (blue-blind)
#B1DACC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #b1df97;
/* rgb */ color: rgb(177, 223, 151);
/* oklch */ color: oklch(85.4% 0.108 134.7);
Tailwind
colors: {
  custom: {
    50: '#c9e9b6',
    500: '#b1df97',
    950: '#000000',
  },
}
SCSS
$custom: #b1df97;
$custom-light: #c9e9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b1df97",
  "rgb": {
    "r": 177,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 98.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.85357,
    "c": 0.10757,
    "h": 134.7
  },
  "luminance": 0.64357
}

Semantic roles & 50–950 ramp

primary
#B1DF97
secondary
#9963B7
accent
#25C088
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #B1DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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