#B2D772#B2D772

#B2D772 is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 83.0% C 0.135 H 125.7°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#B2D772
RGBrgb(178, 215, 114)
HSLhsl(82, 56%, 65%)
HSVhsv(82, 47%, 84%)
CMYKcmyk(17.2%, 0%, 47%, 15.7%)
CIE-LABlab(81.45, -28.32, 45.62)
CIE-LCHlch(81.45, 53.70, 121.83°)
OKLaboklab(83.02% -0.0789 0.1096)
OKLCHoklch(83.02% 0.135 125.7)
XYZxyz(45.6976, 59.2803, 24.9511)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D772 #9772D7
analogous
#D7C972 #B2D772 #80D772
triadic
#B2D772 #72B2D7 #D772B2
tetradic
#B2D772 #72D7C9 #9772D7 #D77280
square
#B2D772 #72D7C9 #9772D7 #D77280
split-complementary
#B2D772 #7280D7 #C972D7
monochromatic
#77A12E #98C942 #B2D772 #CCE5A2 #E6F2D1

Accessibility & contrast

On white

1.63
#B2D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#B2D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D772
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D772#FFFFFF#000000##000000
##B2D7721.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC69
Deuteranopia (green-blind)
#DBCA78
Tritanopia (blue-blind)
#B8CFBF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b2d772;
/* rgb */ color: rgb(178, 215, 114);
/* oklch */ color: oklch(83.0% 0.135 125.7);
Tailwind
colors: {
  custom: {
    50: '#cbe39c',
    500: '#b2d772',
    950: '#000000',
  },
}
SCSS
$custom: #b2d772;
$custom-light: #cbe39c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d772",
  "rgb": {
    "r": 178,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 81.98,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83021,
    "c": 0.13503,
    "h": 125.7
  },
  "luminance": 0.59281
}

Semantic roles & 50–950 ramp

primary
#B2D772
secondary
#6A48A5
accent
#22C35D
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #B2D772

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

Preview Lab → · Contrast checker → · Palette generator →

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