#ABC871#ABC871

#ABC871 is a light, moderate yellow-green. Relative luminance 0.512; OKLCH L 79.1% C 0.118 H 124.1°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#ABC871
RGBrgb(171, 200, 113)
HSLhsl(80, 44%, 61%)
HSVhsv(80, 44%, 78%)
CMYKcmyk(14.5%, 0%, 43.5%, 21.6%)
CIE-LABlab(76.77, -23.86, 40.22)
CIE-LCHlch(76.77, 46.77, 120.68°)
OKLaboklab(79.15% -0.0661 0.0975)
OKLCHoklch(79.15% 0.118 124.1)
XYZxyz(40.4294, 51.1585, 23.3642)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC871 #8E71C8
analogous
#C8BA71 #ABC871 #80C871
triadic
#ABC871 #71ABC8 #C871AB
tetradic
#ABC871 #71C8BA #8E71C8 #C87180
square
#ABC871 #71C8BA #8E71C8 #C87180
split-complementary
#ABC871 #7180C8 #BA71C8
monochromatic
#6D8935 #90B646 #ABC871 #C5D99D #DFEAC9

Accessibility & contrast

On white

1.87
#ABC871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#ABC871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC871
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC871#FFFFFF#000000##000000
##ABC8711.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE6A
Deuteranopia (green-blind)
#CDBD76
Tritanopia (blue-blind)
#B1C0B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abc871;
/* rgb */ color: rgb(171, 200, 113);
/* oklch */ color: oklch(79.1% 0.118 124.1);
Tailwind
colors: {
  custom: {
    50: '#c5d89b',
    500: '#abc871',
    950: '#000000',
  },
}
SCSS
$custom: #abc871;
$custom-light: #c5d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#abc871",
  "rgb": {
    "r": 171,
    "g": 200,
    "b": 113
  },
  "hsl": {
    "h": 80,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.79146,
    "c": 0.11781,
    "h": 124.1
  },
  "luminance": 0.51159
}

Semantic roles & 50–950 ramp

primary
#ABC871
secondary
#634C91
accent
#2EB75C
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #ABC871

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

Preview Lab → · Contrast checker → · Palette generator →

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