#ACC778#ACC778

#ACC778 is a light, moderate yellow-green. Relative luminance 0.510; OKLCH L 79.1% C 0.108 H 124.2°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#ACC778
RGBrgb(172, 199, 120)
HSLhsl(81, 41%, 63%)
HSVhsv(81, 40%, 78%)
CMYKcmyk(13.6%, 0%, 39.7%, 22%)
CIE-LABlab(76.66, -22.15, 36.56)
CIE-LCHlch(76.66, 42.75, 121.21°)
OKLaboklab(79.11% -0.0609 0.0895)
OKLCHoklch(79.11% 0.108 124.2)
XYZxyz(40.8266, 50.9734, 25.4536)
Luminance0.5097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC778 #9378C7
analogous
#C7BA78 #ACC778 #85C778
triadic
#ACC778 #78ACC7 #C778AC
tetradic
#ACC778 #78C7BA #9378C7 #C77885
square
#ACC778 #78C7BA #9378C7 #C77885
split-complementary
#ACC778 #7885C7 #BA78C7
monochromatic
#6F8B3A #91B54D #ACC778 #C7D9A3 #E1EBCF

Accessibility & contrast

On white

1.88
#ACC778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#ACC778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC778
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC778#FFFFFF#000000##000000
##ACC7781.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE72
Deuteranopia (green-blind)
#CBBD7C
Tritanopia (blue-blind)
#B1C0B4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #acc778;
/* rgb */ color: rgb(172, 199, 120);
/* oklch */ color: oklch(79.1% 0.108 124.2);
Tailwind
colors: {
  custom: {
    50: '#c6d8a0',
    500: '#acc778',
    950: '#000000',
  },
}
SCSS
$custom: #acc778;
$custom-light: #c6d8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#acc778",
  "rgb": {
    "r": 172,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 80.506,
    "s": 41.361,
    "l": 62.549
  },
  "oklch": {
    "l": 0.79106,
    "c": 0.10828,
    "h": 124.2
  },
  "luminance": 0.50974
}

Semantic roles & 50–950 ramp

primary
#ACC778
secondary
#675192
accent
#31B45E
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #ACC778

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

Preview Lab → · Contrast checker → · Palette generator →

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