#ACC796#ACC796

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

Color values

HEX#ACC796
RGBrgb(172, 199, 150)
HSLhsl(93, 30%, 68%)
HSVhsv(93, 25%, 78%)
CMYKcmyk(13.6%, 0%, 24.6%, 22%)
CIE-LABlab(77.17, -17.94, 21.60)
CIE-LCHlch(77.17, 28.08, 129.72°)
OKLaboklab(79.68% -0.0483 0.0549)
OKLCHoklch(79.68% 0.073 131.4)
XYZxyz(42.9408, 51.8190, 36.5880)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC796 #B196C7
analogous
#C4C796 #ACC796 #96C798
triadic
#ACC796 #96ACC7 #C796AC
tetradic
#ACC796 #96C4C7 #B196C7 #C79896
square
#ACC796 #96C4C7 #B196C7 #C79896
split-complementary
#ACC796 #9896C7 #C796C4
monochromatic
#6E944F #8CB26E #ACC796 #CCDCBE #EBF2E6

Accessibility & contrast

On white

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

On black

11.36
#ACC796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC796
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC796#FFFFFF#000000##000000
##ACC7961.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acc796;
/* rgb */ color: rgb(172, 199, 150);
/* oklch */ color: oklch(79.7% 0.073 131.4);
Tailwind
colors: {
  custom: {
    50: '#c5d8b5',
    500: '#acc796',
    950: '#000000',
  },
}
SCSS
$custom: #acc796;
$custom-light: #c5d8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#acc796",
  "rgb": {
    "r": 172,
    "g": 199,
    "b": 150
  },
  "hsl": {
    "h": 93.061,
    "s": 30.435,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7968,
    "c": 0.07313,
    "h": 131.4
  },
  "luminance": 0.5182
}

Semantic roles & 50–950 ramp

primary
#ACC796
secondary
#83669C
accent
#3CA978
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #ACC796

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

Preview Lab → · Contrast checker → · Palette generator →

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