#B2D271#B2D271

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

Color values

HEX#B2D271
RGBrgb(178, 210, 113)
HSLhsl(80, 52%, 63%)
HSVhsv(80, 46%, 82%)
CMYKcmyk(15.2%, 0%, 46.2%, 17.6%)
CIE-LABlab(80.04, -26.04, 44.38)
CIE-LCHlch(80.04, 51.45, 120.40°)
OKLaboklab(81.89% -0.0725 0.1068)
OKLCHoklch(81.89% 0.129 124.2)
XYZxyz(44.3873, 56.7502, 24.2350)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D271 #9171D2
analogous
#D2C171 #B2D271 #81D271
triadic
#B2D271 #71B2D2 #D271B2
tetradic
#B2D271 #71D2C1 #9171D2 #D27181
square
#B2D271 #71D2C1 #9171D2 #D27181
split-complementary
#B2D271 #7181D2 #C171D2
monochromatic
#769830 #99C343 #B2D271 #CBE19F #E4EFCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2D271#FFFFFF#000000##000000
##B2D2711.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)
#DCC769
Deuteranopia (green-blind)
#D7C676
Tritanopia (blue-blind)
#B8CABB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d271;
/* rgb */ color: rgb(178, 210, 113);
/* oklch */ color: oklch(81.9% 0.129 124.2);
Tailwind
colors: {
  custom: {
    50: '#cadf9c',
    500: '#b2d271',
    950: '#000000',
  },
}
SCSS
$custom: #b2d271;
$custom-light: #cadf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d271",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 79.794,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81886,
    "c": 0.12908,
    "h": 124.2
  },
  "luminance": 0.5675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2D271

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

Preview Lab → · Contrast checker → · Palette generator →

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