#ABC797#ABC797

#ABC797 is a light, moderate yellow-green. Relative luminance 0.517; OKLCH L 79.6% C 0.072 H 132.5°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#ABC797
RGBrgb(171, 199, 151)
HSLhsl(95, 30%, 69%)
HSVhsv(95, 24%, 78%)
CMYKcmyk(14.1%, 0%, 24.1%, 22%)
CIE-LABlab(77.12, -18.15, 20.99)
CIE-LCHlch(77.12, 27.75, 130.85°)
OKLaboklab(79.63% -0.0489 0.0534)
OKLCHoklch(79.63% 0.072 132.5)
XYZxyz(42.8029, 51.7386, 37.0037)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC797 #B397C7
analogous
#C3C797 #ABC797 #97C79B
triadic
#ABC797 #97ABC7 #C797AB
tetradic
#ABC797 #97C3C7 #B397C7 #C79B97
square
#ABC797 #97C3C7 #B397C7 #C79B97
split-complementary
#ABC797 #9B97C7 #C797C3
monochromatic
#6C9450 #8BB26F #ABC797 #CBDCBF #EBF2E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC797#FFFFFF#000000##000000
##ABC7971.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)
#CBC094
Deuteranopia (green-blind)
#C7BE99
Tritanopia (blue-blind)
#ACC3BA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abc797;
/* rgb */ color: rgb(171, 199, 151);
/* oklch */ color: oklch(79.6% 0.072 132.5);
Tailwind
colors: {
  custom: {
    50: '#c4d8b5',
    500: '#abc797',
    950: '#000000',
  },
}
SCSS
$custom: #abc797;
$custom-light: #c4d8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#abc797",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 95,
    "s": 30,
    "l": 68.627
  },
  "oklch": {
    "l": 0.79631,
    "c": 0.07242,
    "h": 132.5
  },
  "luminance": 0.51739
}

Semantic roles & 50–950 ramp

primary
#ABC797
secondary
#86679C
accent
#3DA97C
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#121411
muted
#828381

Preview Lab

Preview with #ABC797

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

Preview Lab → · Contrast checker → · Palette generator →

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