#ABC798#ABC798

#ABC798 is a light, moderate yellow-green. Relative luminance 0.518; OKLCH L 79.7% C 0.071 H 132.9°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#ABC798
RGBrgb(171, 199, 152)
HSLhsl(96, 30%, 69%)
HSVhsv(96, 24%, 78%)
CMYKcmyk(14.1%, 0%, 23.6%, 22%)
CIE-LABlab(77.14, -17.99, 20.48)
CIE-LCHlch(77.14, 27.26, 131.29°)
OKLaboklab(79.65% -0.0485 0.0522)
OKLCHoklch(79.65% 0.071 132.9)
XYZxyz(42.8845, 51.7712, 37.4332)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC798 #B498C7
analogous
#C3C798 #ABC798 #98C79D
triadic
#ABC798 #98ABC7 #C798AB
tetradic
#ABC798 #98C3C7 #B498C7 #C79D98
square
#ABC798 #98C3C7 #B498C7 #C79D98
split-complementary
#ABC798 #9D98C7 #C798C3
monochromatic
#6C9451 #8BB170 #ABC798 #CBDDC0 #ECF2E7

Accessibility & contrast

On white

1.85
#ABC798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#ABC798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC798
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC798#FFFFFF#000000##000000
##ABC7981.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBC095
Deuteranopia (green-blind)
#C7BE9A
Tritanopia (blue-blind)
#ACC3BA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abc798;
/* rgb */ color: rgb(171, 199, 152);
/* oklch */ color: oklch(79.7% 0.071 132.9);
Tailwind
colors: {
  custom: {
    50: '#c4d8b6',
    500: '#abc798',
    950: '#000000',
  },
}
SCSS
$custom: #abc798;
$custom-light: #c4d8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#abc798",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 152
  },
  "hsl": {
    "h": 95.745,
    "s": 29.56,
    "l": 68.824
  },
  "oklch": {
    "l": 0.79653,
    "c": 0.07123,
    "h": 132.9
  },
  "luminance": 0.51772
}

Semantic roles & 50–950 ramp

primary
#ABC798
secondary
#87689C
accent
#3DA87D
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#121411
muted
#828381

Preview Lab

Preview with #ABC798

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

Preview Lab → · Contrast checker → · Palette generator →

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