#ABC178#ABC178

#ABC178 is a light, moderate yellow-green. Relative luminance 0.482; OKLCH L 77.7% C 0.100 H 122.4°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#ABC178
RGBrgb(171, 193, 120)
HSLhsl(78, 37%, 61%)
HSVhsv(78, 38%, 76%)
CMYKcmyk(11.4%, 0%, 37.8%, 24.3%)
CIE-LABlab(74.92, -19.55, 34.31)
CIE-LCHlch(74.92, 39.49, 119.68°)
OKLaboklab(77.69% -0.0535 0.0844)
OKLCHoklch(77.69% 0.1 122.4)
XYZxyz(39.2546, 48.1539, 24.9923)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC178 #8E78C1
analogous
#C1B378 #ABC178 #87C178
triadic
#ABC178 #78ABC1 #C178AB
tetradic
#ABC178 #78C1B3 #8E78C1 #C17887
square
#ABC178 #78C1B3 #8E78C1 #C17887
split-complementary
#ABC178 #7887C1 #B378C1
monochromatic
#6D833C #90AD4F #ABC178 #C5D4A2 #DFE8CC

Accessibility & contrast

On white

1.98
#ABC178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#ABC178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC178
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC178#FFFFFF#000000##000000
##ABC1781.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B973
Deuteranopia (green-blind)
#C6B87C
Tritanopia (blue-blind)
#B0BAAF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc178;
/* rgb */ color: rgb(171, 193, 120);
/* oklch */ color: oklch(77.7% 0.100 122.4);
Tailwind
colors: {
  custom: {
    50: '#c5d3a0',
    500: '#abc178',
    950: '#000000',
  },
}
SCSS
$custom: #abc178;
$custom-light: #c5d3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#abc178",
  "rgb": {
    "r": 171,
    "g": 193,
    "b": 120
  },
  "hsl": {
    "h": 78.082,
    "s": 37.056,
    "l": 61.373
  },
  "oklch": {
    "l": 0.77694,
    "c": 0.09992,
    "h": 122.4
  },
  "luminance": 0.48154
}

Semantic roles & 50–950 ramp

primary
#ABC178
secondary
#C5BDD8
accent
#36B05A
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140F
muted
#82827E

Preview Lab

Preview with #ABC178

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

Preview Lab → · Contrast checker → · Palette generator →

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