#ABC796#ABC796

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

Color values

HEX#ABC796
RGBrgb(171, 199, 150)
HSLhsl(94, 30%, 68%)
HSVhsv(94, 25%, 78%)
CMYKcmyk(14.1%, 0%, 24.6%, 22%)
CIE-LABlab(77.10, -18.31, 21.49)
CIE-LCHlch(77.10, 28.23, 130.42°)
OKLaboklab(79.61% -0.0494 0.0546)
OKLCHoklch(79.61% 0.074 132.1)
XYZxyz(42.7221, 51.7063, 36.5778)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC796 #B296C7
analogous
#C3C796 #ABC796 #96C799
triadic
#ABC796 #96ABC7 #C796AB
tetradic
#ABC796 #96C3C7 #B296C7 #C79996
square
#ABC796 #96C3C7 #B296C7 #C79996
split-complementary
#ABC796 #9996C7 #C796C3
monochromatic
#6C944F #8BB26E #ABC796 #CBDCBE #EBF2E6

Accessibility & contrast

On white

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

On black

11.34
#ABC796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC796
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC796#FFFFFF#000000##000000
##ABC7961.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abc796;
/* rgb */ color: rgb(171, 199, 150);
/* oklch */ color: oklch(79.6% 0.074 132.1);
Tailwind
colors: {
  custom: {
    50: '#c4d8b5',
    500: '#abc796',
    950: '#000000',
  },
}
SCSS
$custom: #abc796;
$custom-light: #c4d8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#abc796",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 150
  },
  "hsl": {
    "h": 94.286,
    "s": 30.435,
    "l": 68.431
  },
  "oklch": {
    "l": 0.79609,
    "c": 0.07362,
    "h": 132.1
  },
  "luminance": 0.51707
}

Semantic roles & 50–950 ramp

primary
#ABC796
secondary
#84669C
accent
#3CA97B
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#121411
muted
#828381

Preview Lab

Preview with #ABC796

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

Preview Lab → · Contrast checker → · Palette generator →

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