#B2D397#B2D397

#B2D397 is a very light, moderate yellow-green. Relative luminance 0.583; OKLCH L 82.8% C 0.088 H 131.5°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#B2D397
RGBrgb(178, 211, 151)
HSLhsl(93, 41%, 71%)
HSVhsv(93, 28%, 83%)
CMYKcmyk(15.6%, 0%, 28.4%, 17.3%)
CIE-LABlab(80.90, -21.61, 26.21)
CIE-LCHlch(80.90, 33.97, 129.50°)
OKLaboklab(82.77% -0.0585 0.0661)
OKLCHoklch(82.77% 0.088 131.5)
XYZxyz(47.2393, 58.2872, 38.0339)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D397 #B897D3
analogous
#D0D397 #B2D397 #97D39A
triadic
#B2D397 #97B2D3 #D397B2
tetradic
#B2D397 #97D0D3 #B897D3 #D39A97
square
#B2D397 #97D0D3 #B897D3 #D39A97
split-complementary
#B2D397 #9A97D3 #D397D0
monochromatic
#73A847 #92C16C #B2D397 #D2E5C2 #EFF6E9

Accessibility & contrast

On white

1.66
#B2D397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#B2D397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D397
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D397#FFFFFF#000000##000000
##B2D3971.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA93
Deuteranopia (green-blind)
#D3C89A
Tritanopia (blue-blind)
#B4CEC3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #b2d397;
/* rgb */ color: rgb(178, 211, 151);
/* oklch */ color: oklch(82.8% 0.088 131.5);
Tailwind
colors: {
  custom: {
    50: '#c9e0b6',
    500: '#b2d397',
    950: '#000000',
  },
}
SCSS
$custom: #b2d397;
$custom-light: #c9e0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d397",
  "rgb": {
    "r": 178,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 93,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.82766,
    "c": 0.08824,
    "h": 131.5
  },
  "luminance": 0.58288
}

Semantic roles & 50–950 ramp

primary
#B2D397
secondary
#8B65A9
accent
#32B479
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #B2D397

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

Preview Lab → · Contrast checker → · Palette generator →

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