#ABC781#ABC781

#ABC781 is a light, moderate yellow-green. Relative luminance 0.511; OKLCH L 79.2% C 0.098 H 126.3°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#ABC781
RGBrgb(171, 199, 129)
HSLhsl(84, 38%, 64%)
HSVhsv(84, 35%, 78%)
CMYKcmyk(14.1%, 0%, 35.2%, 22%)
CIE-LABlab(76.73, -21.37, 32.01)
CIE-LCHlch(76.73, 38.49, 123.72°)
OKLaboklab(79.19% -0.0582 0.0794)
OKLCHoklch(79.19% 0.098 126.3)
XYZxyz(41.1800, 51.0894, 28.4564)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC781 #9D81C7
analogous
#C7C081 #ABC781 #88C781
triadic
#ABC781 #81ABC7 #C781AB
tetradic
#ABC781 #81C7C0 #9D81C7 #C78188
square
#ABC781 #81C7C0 #9D81C7 #C78188
split-complementary
#ABC781 #8188C7 #C081C7
monochromatic
#6F8E3F #8FB457 #ABC781 #C7DAAB #E3EDD6

Accessibility & contrast

On white

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

On black

11.22
#ABC781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC781
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC781#FFFFFF#000000##000000
##ABC7811.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7C
Deuteranopia (green-blind)
#CABD84
Tritanopia (blue-blind)
#AFC1B5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abc781;
/* rgb */ color: rgb(171, 199, 129);
/* oklch */ color: oklch(79.2% 0.098 126.3);
Tailwind
colors: {
  custom: {
    50: '#c5d8a6',
    500: '#abc781',
    950: '#000000',
  },
}
SCSS
$custom: #abc781;
$custom-light: #c5d8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#abc781",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 129
  },
  "hsl": {
    "h": 84,
    "s": 38.462,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7919,
    "c": 0.09844,
    "h": 126.3
  },
  "luminance": 0.5109
}

Semantic roles & 50–950 ramp

primary
#ABC781
secondary
#705696
accent
#34B166
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #ABC781

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

Preview Lab → · Contrast checker → · Palette generator →

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