#ACC797#ACC797

#ACC797 is a light, moderate yellow-green. Relative luminance 0.519; OKLCH L 79.7% C 0.072 H 131.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#ACC797
RGBrgb(172, 199, 151)
HSLhsl(94, 30%, 69%)
HSVhsv(94, 24%, 78%)
CMYKcmyk(13.6%, 0%, 24.1%, 22%)
CIE-LABlab(77.19, -17.79, 21.09)
CIE-LCHlch(77.19, 27.59, 130.14°)
OKLaboklab(79.7% -0.0479 0.0536)
OKLCHoklch(79.7% 0.072 131.8)
XYZxyz(43.0216, 51.8514, 37.0139)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC797 #B297C7
analogous
#C4C797 #ACC797 #97C79A
triadic
#ACC797 #97ACC7 #C797AC
tetradic
#ACC797 #97C4C7 #B297C7 #C79A97
square
#ACC797 #97C4C7 #B297C7 #C79A97
split-complementary
#ACC797 #9A97C7 #C797C4
monochromatic
#6E9450 #8CB26F #ACC797 #CCDCBF #EBF2E7

Accessibility & contrast

On white

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

On black

11.37
#ACC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC797
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC797#FFFFFF#000000##000000
##ACC7971.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC094
Deuteranopia (green-blind)
#C7BE99
Tritanopia (blue-blind)
#ADC3BA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #acc797;
/* rgb */ color: rgb(172, 199, 151);
/* oklch */ color: oklch(79.7% 0.072 131.8);
Tailwind
colors: {
  custom: {
    50: '#c5d8b5',
    500: '#acc797',
    950: '#000000',
  },
}
SCSS
$custom: #acc797;
$custom-light: #c5d8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#acc797",
  "rgb": {
    "r": 172,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 93.75,
    "s": 30,
    "l": 68.627
  },
  "oklch": {
    "l": 0.79702,
    "c": 0.07193,
    "h": 131.8
  },
  "luminance": 0.51852
}

Semantic roles & 50–950 ramp

primary
#ACC797
secondary
#84679C
accent
#3DA979
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #ACC797

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

Preview Lab → · Contrast checker → · Palette generator →

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