#A7D178#A7D178

#A7D178 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 81.0% C 0.125 H 129.5°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#A7D178
RGBrgb(167, 209, 120)
HSLhsl(88, 49%, 65%)
HSVhsv(88, 43%, 82%)
CMYKcmyk(20.1%, 0%, 42.6%, 18%)
CIE-LABlab(79.14, -28.87, 39.64)
CIE-LCHlch(79.14, 49.04, 126.06°)
OKLaboklab(81.01% -0.0795 0.0966)
OKLCHoklch(81.01% 0.125 129.5)
XYZxyz(42.1265, 55.1718, 26.1954)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D178 #A278D1
analogous
#D1CF78 #A7D178 #7BD178
triadic
#A7D178 #78A7D1 #D178A7
tetradic
#A7D178 #78D1CF #A278D1 #D1787B
square
#A7D178 #78D1CF #A278D1 #D1787B
split-complementary
#A7D178 #787BD1 #CF78D1
monochromatic
#6A9A35 #89C14A #A7D178 #C5E1A6 #E3F0D3

Accessibility & contrast

On white

1.74
#A7D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#A7D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D178
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D178#FFFFFF#000000##000000
##A7D1781.001.7412.0312.03
#FFFFFF1.741.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C671
Deuteranopia (green-blind)
#D2C37D
Tritanopia (blue-blind)
#AACABB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a7d178;
/* rgb */ color: rgb(167, 209, 120);
/* oklch */ color: oklch(81.0% 0.125 129.5);
Tailwind
colors: {
  custom: {
    50: '#c2dfa0',
    500: '#a7d178',
    950: '#000000',
  },
}
SCSS
$custom: #a7d178;
$custom-light: #c2dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d178",
  "rgb": {
    "r": 167,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 88.315,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81012,
    "c": 0.12512,
    "h": 129.5
  },
  "luminance": 0.55172
}

Semantic roles & 50–950 ramp

primary
#A7D178
secondary
#744E9F
accent
#29BC6F
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #A7D178

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

Preview Lab → · Contrast checker → · Palette generator →

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