#B2DF98#B2DF98

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

Color values

HEX#B2DF98
RGBrgb(178, 223, 152)
HSLhsl(98, 53%, 74%)
HSVhsv(98, 32%, 87%)
CMYKcmyk(20.2%, 0%, 31.8%, 12.5%)
CIE-LABlab(84.23, -27.28, 30.17)
CIE-LCHlch(84.23, 40.68, 132.12°)
OKLaboklab(85.44% -0.0742 0.0756)
OKLCHoklch(85.44% 0.106 134.5)
XYZxyz(50.4141, 64.5063, 39.4945)
Luminance0.6451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2DF98 #C598DF
analogous
#D5DF98 #B2DF98 #98DFA1
triadic
#B2DF98 #98B2DF #DF98B2
tetradic
#B2DF98 #98D5DF #C598DF #DFA198
square
#B2DF98 #98D5DF #C598DF #DFA198
split-complementary
#B2DF98 #A198DF #DF98D5
monochromatic
#6DC13C #8FD069 #B2DF98 #D5EEC7 #EEF8E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2DF98#FFFFFF#000000##000000
##B2DF981.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)
#E5D593
Deuteranopia (green-blind)
#DED19C
Tritanopia (blue-blind)
#B2DACD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #b2df98;
/* rgb */ color: rgb(178, 223, 152);
/* oklch */ color: oklch(85.4% 0.106 134.5);
Tailwind
colors: {
  custom: {
    50: '#cae9b7',
    500: '#b2df98',
    950: '#000000',
  },
}
SCSS
$custom: #b2df98;
$custom-light: #cae9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b2df98",
  "rgb": {
    "r": 178,
    "g": 223,
    "b": 152
  },
  "hsl": {
    "h": 98.028,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.85441,
    "c": 0.10594,
    "h": 134.5
  },
  "luminance": 0.64507
}

Semantic roles & 50–950 ramp

primary
#B2DF98
secondary
#9964B7
accent
#25C087
background
#FEFEFD
surface
#FAFCF8
border
#D3D5D1
text
#131611
muted
#838481

Preview Lab

Preview with #B2DF98

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

Preview Lab → · Contrast checker → · Palette generator →

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