#ABC787#ABC787

#ABC787 is a light, moderate yellow-green. Relative luminance 0.513; OKLCH L 79.3% C 0.091 H 127.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#ABC787
RGBrgb(171, 199, 135)
HSLhsl(86, 36%, 65%)
HSVhsv(86, 32%, 78%)
CMYKcmyk(14.1%, 0%, 32.2%, 22%)
CIE-LABlab(76.83, -20.54, 29.03)
CIE-LCHlch(76.83, 35.56, 125.29°)
OKLaboklab(79.3% -0.0557 0.0725)
OKLCHoklch(79.3% 0.091 127.6)
XYZxyz(41.5906, 51.2537, 30.6188)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC787 #A387C7
analogous
#C7C387 #ABC787 #8BC787
triadic
#ABC787 #87ABC7 #C787AB
tetradic
#ABC787 #87C7C3 #A387C7 #C7878B
square
#ABC787 #87C7C3 #A387C7 #C7878B
split-complementary
#ABC787 #878BC7 #C387C7
monochromatic
#6F9043 #8EB45D #ABC787 #C8DAB1 #E5EEDA

Accessibility & contrast

On white

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

On black

11.25
#ABC787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC787
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC787#FFFFFF#000000##000000
##ABC7871.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBF83
Deuteranopia (green-blind)
#C9BD8A
Tritanopia (blue-blind)
#AEC1B6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abc787;
/* rgb */ color: rgb(171, 199, 135);
/* oklch */ color: oklch(79.3% 0.091 127.6);
Tailwind
colors: {
  custom: {
    50: '#c4d8aa',
    500: '#abc787',
    950: '#000000',
  },
}
SCSS
$custom: #abc787;
$custom-light: #c4d8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#abc787",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 135
  },
  "hsl": {
    "h": 86.25,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79302,
    "c": 0.09144,
    "h": 127.6
  },
  "luminance": 0.51254
}

Semantic roles & 50–950 ramp

primary
#ABC787
secondary
#755A98
accent
#36AF6B
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #ABC787

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

Preview Lab → · Contrast checker → · Palette generator →

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