#ABD271#ABD271

#ABD271 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.4% C 0.132 H 127.1°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#ABD271
RGBrgb(171, 210, 113)
HSLhsl(84, 52%, 63%)
HSVhsv(84, 46%, 82%)
CMYKcmyk(18.6%, 0%, 46.2%, 17.6%)
CIE-LABlab(79.58, -28.68, 43.71)
CIE-LCHlch(79.58, 52.28, 123.27°)
OKLaboklab(81.4% -0.0796 0.1053)
OKLCHoklch(81.4% 0.132 127.1)
XYZxyz(42.8215, 55.9428, 24.1616)
Luminance0.5594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABD271 #9871D2
analogous
#D2C971 #ABD271 #7AD271
triadic
#ABD271 #71ABD2 #D271AB
tetradic
#ABD271 #71D2C9 #9871D2 #D2717A
square
#ABD271 #71D2C9 #9871D2 #D2717A
split-complementary
#ABD271 #717AD2 #C971D2
monochromatic
#6E9830 #90C343 #ABD271 #C6E19F #E2EFCE

Accessibility & contrast

On white

1.72
#ABD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#ABD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABD271
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABD271#FFFFFF#000000##000000
##ABD2711.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#D5C577
Tritanopia (blue-blind)
#B0CABB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #abd271;
/* rgb */ color: rgb(171, 210, 113);
/* oklch */ color: oklch(81.4% 0.132 127.1);
Tailwind
colors: {
  custom: {
    50: '#c6e09b',
    500: '#abd271',
    950: '#000000',
  },
}
SCSS
$custom: #abd271;
$custom-light: #c6e09b;
$custom-dark: #000000;
JSON
{
  "hex": "#abd271",
  "rgb": {
    "r": 171,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 84.124,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81401,
    "c": 0.13205,
    "h": 127.1
  },
  "luminance": 0.55943
}

Semantic roles & 50–950 ramp

primary
#ABD271
secondary
#6B4A9E
accent
#26BF64
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #ABD271

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

Preview Lab → · Contrast checker → · Palette generator →

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