#ABC171#ABC171

#ABC171 is a light, moderate yellow-green. Relative luminance 0.480; OKLCH L 77.6% C 0.108 H 121.5°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#ABC171
RGBrgb(171, 193, 113)
HSLhsl(77, 39%, 60%)
HSVhsv(77, 41%, 76%)
CMYKcmyk(11.4%, 0%, 41.5%, 24.3%)
CIE-LABlab(74.82, -20.41, 37.76)
CIE-LCHlch(74.82, 42.92, 118.39°)
OKLaboklab(77.58% -0.0564 0.0919)
OKLCHoklch(77.58% 0.108 121.5)
XYZxyz(38.8452, 47.9901, 22.8362)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC171 #8771C1
analogous
#C1AF71 #ABC171 #83C171
triadic
#ABC171 #71ABC1 #C171AB
tetradic
#ABC171 #71C1AF #8771C1 #C17183
square
#ABC171 #71C1AF #8771C1 #C17183
split-complementary
#ABC171 #7183C1 #AF71C1
monochromatic
#6C8038 #90AA4A #ABC171 #C4D49C #DDE6C6

Accessibility & contrast

On white

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

On black

10.60
#ABC171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC171
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC171#FFFFFF#000000##000000
##ABC1711.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB96B
Deuteranopia (green-blind)
#C7B875
Tritanopia (blue-blind)
#B1BAAE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc171;
/* rgb */ color: rgb(171, 193, 113);
/* oklch */ color: oklch(77.6% 0.108 121.5);
Tailwind
colors: {
  custom: {
    50: '#c5d39b',
    500: '#abc171',
    950: '#000000',
  },
}
SCSS
$custom: #abc171;
$custom-light: #c5d39b;
$custom-dark: #000000;
JSON
{
  "hex": "#abc171",
  "rgb": {
    "r": 171,
    "g": 193,
    "b": 113
  },
  "hsl": {
    "h": 76.5,
    "s": 39.216,
    "l": 60
  },
  "oklch": {
    "l": 0.77578,
    "c": 0.10785,
    "h": 121.5
  },
  "luminance": 0.4799
}

Semantic roles & 50–950 ramp

primary
#ABC171
secondary
#C0B7D6
accent
#59CF79
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #ABC171

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

Preview Lab → · Contrast checker → · Palette generator →

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