#ABC98B#ABC98B

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

Color values

HEX#ABC98B
RGBrgb(171, 201, 139)
HSLhsl(89, 36%, 67%)
HSVhsv(89, 31%, 79%)
CMYKcmyk(14.9%, 0%, 30.8%, 21.2%)
CIE-LABlab(77.46, -20.97, 27.77)
CIE-LCHlch(77.46, 34.79, 127.05°)
OKLaboklab(79.82% -0.0568 0.0696)
OKLCHoklch(79.82% 0.09 129.2)
XYZxyz(42.3407, 52.2948, 32.2843)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC98B #A98BC9
analogous
#C9C88B #ABC98B #8CC98B
triadic
#ABC98B #8BABC9 #C98BAB
tetradic
#ABC98B #8BC9C8 #A98BC9 #C98B8C
square
#ABC98B #8BC9C8 #A98BC9 #C98B8C
split-complementary
#ABC98B #8B8CC9 #C88BC9
monochromatic
#6E9445 #8DB661 #ABC98B #C9DCB5 #E7F0DF

Accessibility & contrast

On white

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

On black

11.46
#ABC98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC98B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC98B#FFFFFF#000000##000000
##ABC98B1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abc98b;
/* rgb */ color: rgb(171, 201, 139);
/* oklch */ color: oklch(79.8% 0.090 129.2);
Tailwind
colors: {
  custom: {
    50: '#c4d9ad',
    500: '#abc98b',
    950: '#000000',
  },
}
SCSS
$custom: #abc98b;
$custom-light: #c4d9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#abc98b",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 139
  },
  "hsl": {
    "h": 89.032,
    "s": 36.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.79824,
    "c": 0.08985,
    "h": 129.2
  },
  "luminance": 0.52295
}

Semantic roles & 50–950 ramp

primary
#ABC98B
secondary
#7B5C9C
accent
#36AF71
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #ABC98B

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

Preview Lab → · Contrast checker → · Palette generator →

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