#ACC978#ACC978

#ACC978 is a light, moderate yellow-green. Relative luminance 0.519; OKLCH L 79.6% C 0.111 H 124.9°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#ACC978
RGBrgb(172, 201, 120)
HSLhsl(81, 43%, 63%)
HSVhsv(81, 40%, 79%)
CMYKcmyk(14.4%, 0%, 40.3%, 21.2%)
CIE-LABlab(77.22, -23.13, 37.27)
CIE-LCHlch(77.22, 43.87, 121.83°)
OKLaboklab(79.55% -0.0637 0.0912)
OKLCHoklch(79.55% 0.111 124.9)
XYZxyz(41.2898, 51.8998, 25.6080)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC978 #9578C9
analogous
#C9BD78 #ACC978 #84C978
triadic
#ACC978 #78ACC9 #C978AC
tetradic
#ACC978 #78C9BD #9578C9 #C97884
square
#ACC978 #78C9BD #9578C9 #C97884
split-complementary
#ACC978 #7884C9 #BD78C9
monochromatic
#6F8E39 #91B84C #ACC978 #C7DAA4 #E2ECCF

Accessibility & contrast

On white

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

On black

11.38
#ACC978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC978
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC978#FFFFFF#000000##000000
##ACC9781.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C072
Deuteranopia (green-blind)
#CDBE7C
Tritanopia (blue-blind)
#B1C2B5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #acc978;
/* rgb */ color: rgb(172, 201, 120);
/* oklch */ color: oklch(79.6% 0.111 124.9);
Tailwind
colors: {
  custom: {
    50: '#c6d9a0',
    500: '#acc978',
    950: '#000000',
  },
}
SCSS
$custom: #acc978;
$custom-light: #c6d9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#acc978",
  "rgb": {
    "r": 172,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 81.481,
    "s": 42.857,
    "l": 62.941
  },
  "oklch": {
    "l": 0.79553,
    "c": 0.11119,
    "h": 124.9
  },
  "luminance": 0.519
}

Semantic roles & 50–950 ramp

primary
#ACC978
secondary
#695095
accent
#30B660
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #ACC978

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

Preview Lab → · Contrast checker → · Palette generator →

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