#ABC786#ABC786

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

Color values

HEX#ABC786
RGBrgb(171, 199, 134)
HSLhsl(86, 37%, 65%)
HSVhsv(86, 33%, 78%)
CMYKcmyk(14.1%, 0%, 32.7%, 22%)
CIE-LABlab(76.82, -20.68, 29.52)
CIE-LCHlch(76.82, 36.05, 125.01°)
OKLaboklab(79.28% -0.0561 0.0736)
OKLCHoklch(79.28% 0.093 127.3)
XYZxyz(41.5205, 51.2256, 30.2497)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC786 #A286C7
analogous
#C7C286 #ABC786 #8AC786
triadic
#ABC786 #86ABC7 #C786AB
tetradic
#ABC786 #86C7C2 #A286C7 #C7868A
square
#ABC786 #86C7C2 #A286C7 #C7868A
split-complementary
#ABC786 #868AC7 #C286C7
monochromatic
#6F9043 #8EB45C #ABC786 #C8DAB0 #E5EEDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC786#FFFFFF#000000##000000
##ABC7861.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)
#CEBF82
Deuteranopia (green-blind)
#C9BD89
Tritanopia (blue-blind)
#AEC1B6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abc786;
/* rgb */ color: rgb(171, 199, 134);
/* oklch */ color: oklch(79.3% 0.093 127.3);
Tailwind
colors: {
  custom: {
    50: '#c4d8aa',
    500: '#abc786',
    950: '#000000',
  },
}
SCSS
$custom: #abc786;
$custom-light: #c4d8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#abc786",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 134
  },
  "hsl": {
    "h": 85.846,
    "s": 36.723,
    "l": 65.294
  },
  "oklch": {
    "l": 0.79283,
    "c": 0.09261,
    "h": 127.3
  },
  "luminance": 0.51226
}

Semantic roles & 50–950 ramp

primary
#ABC786
secondary
#745A98
accent
#36B06A
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#131410
muted
#828380

Preview Lab

Preview with #ABC786

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

Preview Lab → · Contrast checker → · Palette generator →

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