#B2D272#B2D272

#B2D272 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.9% C 0.128 H 124.3°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#B2D272
RGBrgb(178, 210, 114)
HSLhsl(80, 52%, 64%)
HSVhsv(80, 46%, 82%)
CMYKcmyk(15.2%, 0%, 45.7%, 17.6%)
CIE-LABlab(80.05, -25.93, 43.91)
CIE-LCHlch(80.05, 50.99, 120.57°)
OKLaboklab(81.9% -0.0722 0.1058)
OKLCHoklch(81.9% 0.128 124.3)
XYZxyz(44.4439, 56.7728, 24.5331)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D272 #9272D2
analogous
#D2C272 #B2D272 #82D272
triadic
#B2D272 #72B2D2 #D272B2
tetradic
#B2D272 #72D2C2 #9272D2 #D27282
square
#B2D272 #72D2C2 #9272D2 #D27282
split-complementary
#B2D272 #7282D2 #C272D2
monochromatic
#769931 #99C344 #B2D272 #CBE1A0 #E5F0CF

Accessibility & contrast

On white

1.70
#B2D272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#B2D272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D272
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D272#FFFFFF#000000##000000
##B2D2721.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC86A
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#B8CABB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d272;
/* rgb */ color: rgb(178, 210, 114);
/* oklch */ color: oklch(81.9% 0.128 124.3);
Tailwind
colors: {
  custom: {
    50: '#cadf9c',
    500: '#b2d272',
    950: '#000000',
  },
}
SCSS
$custom: #b2d272;
$custom-light: #cadf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d272",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 80,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81901,
    "c": 0.12805,
    "h": 124.3
  },
  "luminance": 0.56773
}

Semantic roles & 50–950 ramp

primary
#B2D272
secondary
#664A9E
accent
#26BF59
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #B2D272

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

Preview Lab → · Contrast checker → · Palette generator →

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