#ABC795#ABC795

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

Color values

HEX#ABC795
RGBrgb(171, 199, 149)
HSLhsl(94, 31%, 68%)
HSVhsv(94, 25%, 78%)
CMYKcmyk(14.1%, 0%, 25.1%, 22%)
CIE-LABlab(77.09, -18.46, 22.00)
CIE-LCHlch(77.09, 28.72, 130.01°)
OKLaboklab(79.59% -0.0498 0.0558)
OKLCHoklch(79.59% 0.075 131.7)
XYZxyz(42.6419, 51.6742, 36.1555)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC795 #B195C7
analogous
#C4C795 #ABC795 #95C798
triadic
#ABC795 #95ABC7 #C795AB
tetradic
#ABC795 #95C4C7 #B195C7 #C79895
square
#ABC795 #95C4C7 #B195C7 #C79895
split-complementary
#ABC795 #9895C7 #C795C4
monochromatic
#6D944E #8BB26D #ABC795 #CBDCBD #EAF1E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC795#FFFFFF#000000##000000
##ABC7951.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)
#CCC092
Deuteranopia (green-blind)
#C7BE97
Tritanopia (blue-blind)
#ACC3BA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abc795;
/* rgb */ color: rgb(171, 199, 149);
/* oklch */ color: oklch(79.6% 0.075 131.7);
Tailwind
colors: {
  custom: {
    50: '#c4d8b4',
    500: '#abc795',
    950: '#000000',
  },
}
SCSS
$custom: #abc795;
$custom-light: #c4d8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#abc795",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 149
  },
  "hsl": {
    "h": 93.6,
    "s": 30.864,
    "l": 68.235
  },
  "oklch": {
    "l": 0.79587,
    "c": 0.07481,
    "h": 131.7
  },
  "luminance": 0.51675
}

Semantic roles & 50–950 ramp

primary
#ABC795
secondary
#83659C
accent
#3CAA79
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#121411
muted
#828381

Preview Lab

Preview with #ABC795

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

Preview Lab → · Contrast checker → · Palette generator →

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