#ABC98C#ABC98C

#ABC98C is a light, moderate yellow-green. Relative luminance 0.523; OKLCH L 79.8% C 0.089 H 129.5°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#ABC98C
RGBrgb(171, 201, 140)
HSLhsl(90, 36%, 67%)
HSVhsv(90, 30%, 79%)
CMYKcmyk(14.9%, 0%, 30.3%, 21.2%)
CIE-LABlab(77.47, -20.82, 27.27)
CIE-LCHlch(77.47, 34.31, 127.36°)
OKLaboklab(79.84% -0.0564 0.0684)
OKLCHoklch(79.84% 0.089 129.5)
XYZxyz(42.4141, 52.3242, 32.6709)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC98C #AA8CC9
analogous
#C9C98C #ABC98C #8DC98C
triadic
#ABC98C #8CABC9 #C98CAB
tetradic
#ABC98C #8CC9C9 #AA8CC9 #C98C8D
square
#ABC98C #8CC9C9 #AA8CC9 #C98C8D
split-complementary
#ABC98C #8C8DC9 #C98CC9
monochromatic
#6E9546 #8DB562 #ABC98C #C9DDB6 #E8F0DF

Accessibility & contrast

On white

1.83
#ABC98C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#ABC98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC98C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC98C#FFFFFF#000000##000000
##ABC98C1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC188
Deuteranopia (green-blind)
#CABF8F
Tritanopia (blue-blind)
#ADC4B9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #abc98c;
/* rgb */ color: rgb(171, 201, 140);
/* oklch */ color: oklch(79.8% 0.089 129.5);
Tailwind
colors: {
  custom: {
    50: '#c4d9ae',
    500: '#abc98c',
    950: '#000000',
  },
}
SCSS
$custom: #abc98c;
$custom-light: #c4d9ae;
$custom-dark: #000000;
JSON
{
  "hex": "#abc98c",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 140
  },
  "hsl": {
    "h": 89.508,
    "s": 36.095,
    "l": 66.863
  },
  "oklch": {
    "l": 0.79844,
    "c": 0.08867,
    "h": 129.5
  },
  "luminance": 0.52325
}

Semantic roles & 50–950 ramp

primary
#ABC98C
secondary
#7C5D9C
accent
#37AF72
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #ABC98C

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

Preview Lab → · Contrast checker → · Palette generator →

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