#ABC878#ABC878

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

Color values

HEX#ABC878
RGBrgb(171, 200, 120)
HSLhsl(82, 42%, 63%)
HSVhsv(82, 40%, 78%)
CMYKcmyk(14.5%, 0%, 40%, 21.6%)
CIE-LABlab(76.87, -23.02, 36.82)
CIE-LCHlch(76.87, 43.42, 122.02°)
OKLaboklab(79.26% -0.0633 0.0901)
OKLCHoklch(79.26% 0.11 125.1)
XYZxyz(40.8388, 51.3223, 25.5203)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC878 #9578C8
analogous
#C8BD78 #ABC878 #83C878
triadic
#ABC878 #78ABC8 #C878AB
tetradic
#ABC878 #78C8BD #9578C8 #C87883
square
#ABC878 #78C8BD #9578C8 #C87883
split-complementary
#ABC878 #7883C8 #BD78C8
monochromatic
#6E8C39 #90B64D #ABC878 #C6DAA3 #E1EBCF

Accessibility & contrast

On white

1.86
#ABC878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#ABC878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC878
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC878#FFFFFF#000000##000000
##ABC8781.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BF72
Deuteranopia (green-blind)
#CCBD7C
Tritanopia (blue-blind)
#B0C1B4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abc878;
/* rgb */ color: rgb(171, 200, 120);
/* oklch */ color: oklch(79.3% 0.110 125.1);
Tailwind
colors: {
  custom: {
    50: '#c5d8a0',
    500: '#abc878',
    950: '#000000',
  },
}
SCSS
$custom: #abc878;
$custom-light: #c5d8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#abc878",
  "rgb": {
    "r": 171,
    "g": 200,
    "b": 120
  },
  "hsl": {
    "h": 81.75,
    "s": 42.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.79257,
    "c": 0.11014,
    "h": 125.1
  },
  "luminance": 0.51323
}

Semantic roles & 50–950 ramp

primary
#ABC878
secondary
#695094
accent
#30B560
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #ABC878

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

Preview Lab → · Contrast checker → · Palette generator →

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