#ABC371#ABC371

#ABC371 is a light, moderate yellow-green. Relative luminance 0.489; OKLCH L 78.0% C 0.111 H 122.3°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#ABC371
RGBrgb(171, 195, 113)
HSLhsl(78, 41%, 60%)
HSVhsv(78, 42%, 76%)
CMYKcmyk(12.3%, 0%, 42.1%, 23.5%)
CIE-LABlab(75.38, -21.40, 38.46)
CIE-LCHlch(75.38, 44.01, 119.09°)
OKLaboklab(78.03% -0.0592 0.0935)
OKLCHoklch(78.03% 0.111 122.3)
XYZxyz(39.2903, 48.8803, 22.9845)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC371 #8971C3
analogous
#C3B271 #ABC371 #82C371
triadic
#ABC371 #71ABC3 #C371AB
tetradic
#ABC371 #71C3B2 #8971C3 #C37182
square
#ABC371 #71C3B2 #8971C3 #C37182
split-complementary
#ABC371 #7182C3 #B271C3
monochromatic
#6C8237 #90AD49 #ABC371 #C4D59C #DEE7C7

Accessibility & contrast

On white

1.95
#ABC371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#ABC371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC371
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC371#FFFFFF#000000##000000
##ABC3711.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBA6B
Deuteranopia (green-blind)
#C9BA75
Tritanopia (blue-blind)
#B1BCAF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #abc371;
/* rgb */ color: rgb(171, 195, 113);
/* oklch */ color: oklch(78.0% 0.111 122.3);
Tailwind
colors: {
  custom: {
    50: '#c5d59b',
    500: '#abc371',
    950: '#000000',
  },
}
SCSS
$custom: #abc371;
$custom-light: #c5d59b;
$custom-dark: #000000;
JSON
{
  "hex": "#abc371",
  "rgb": {
    "r": 171,
    "g": 195,
    "b": 113
  },
  "hsl": {
    "h": 77.561,
    "s": 40.594,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78025,
    "c": 0.11069,
    "h": 122.3
  },
  "luminance": 0.4888
}

Semantic roles & 50–950 ramp

primary
#ABC371
secondary
#C1B8D8
accent
#32B458
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #ABC371

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

Preview Lab → · Contrast checker → · Palette generator →

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