#B2DF97#B2DF97

#B2DF97 is a very light, moderate yellow-green. Relative luminance 0.645; OKLCH L 85.4% C 0.107 H 134.2°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#B2DF97
RGBrgb(178, 223, 151)
HSLhsl(98, 53%, 73%)
HSVhsv(98, 32%, 87%)
CMYKcmyk(20.2%, 0%, 32.3%, 12.5%)
CIE-LABlab(84.21, -27.43, 30.66)
CIE-LCHlch(84.21, 41.14, 131.81°)
OKLaboklab(85.42% -0.0747 0.0767)
OKLCHoklch(85.42% 0.107 134.2)
XYZxyz(50.3325, 64.4736, 39.0650)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2DF97 #C497DF
analogous
#D6DF97 #B2DF97 #97DFA0
triadic
#B2DF97 #97B2DF #DF97B2
tetradic
#B2DF97 #97D6DF #C497DF #DFA097
square
#B2DF97 #97D6DF #C497DF #DFA097
split-complementary
#B2DF97 #A097DF #DF97D6
monochromatic
#6DC03B #8FD168 #B2DF97 #D5EDC6 #EEF8E8

Accessibility & contrast

On white

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

On black

13.90
#B2DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2DF97
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2DF97#FFFFFF#000000##000000
##B2DF971.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D592
Deuteranopia (green-blind)
#DED19B
Tritanopia (blue-blind)
#B2DACC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #b2df97;
/* rgb */ color: rgb(178, 223, 151);
/* oklch */ color: oklch(85.4% 0.107 134.2);
Tailwind
colors: {
  custom: {
    50: '#cae9b6',
    500: '#b2df97',
    950: '#000000',
  },
}
SCSS
$custom: #b2df97;
$custom-light: #cae9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2df97",
  "rgb": {
    "r": 178,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 97.5,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.85422,
    "c": 0.10705,
    "h": 134.2
  },
  "luminance": 0.64475
}

Semantic roles & 50–950 ramp

primary
#B2DF97
secondary
#9863B7
accent
#25C086
background
#FEFEFD
surface
#FAFCF8
border
#D3D5D1
text
#131611
muted
#838481

Preview Lab

Preview with #B2DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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