#A5D178#A5D178

#A5D178 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 80.9% C 0.126 H 130.3°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#A5D178
RGBrgb(165, 209, 120)
HSLhsl(90, 49%, 65%)
HSVhsv(90, 43%, 82%)
CMYKcmyk(21.1%, 0%, 42.6%, 18%)
CIE-LABlab(79.02, -29.60, 39.46)
CIE-LCHlch(79.02, 49.33, 126.87°)
OKLaboklab(80.88% -0.0815 0.0962)
OKLCHoklch(80.88% 0.126 130.3)
XYZxyz(41.7071, 54.9556, 26.1758)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D178 #A478D1
analogous
#D1D178 #A5D178 #79D178
triadic
#A5D178 #78A5D1 #D178A5
tetradic
#A5D178 #78D1D1 #A478D1 #D17879
square
#A5D178 #78D1D1 #A478D1 #D17879
split-complementary
#A5D178 #7879D1 #D178D1
monochromatic
#689A35 #87C14A #A5D178 #C3E1A6 #E2F0D3

Accessibility & contrast

On white

1.75
#A5D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#A5D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D178
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D178#FFFFFF#000000##000000
##A5D1781.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5d178;
/* rgb */ color: rgb(165, 209, 120);
/* oklch */ color: oklch(80.9% 0.126 130.3);
Tailwind
colors: {
  custom: {
    50: '#c1dfa0',
    500: '#a5d178',
    950: '#000000',
  },
}
SCSS
$custom: #a5d178;
$custom-light: #c1dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d178",
  "rgb": {
    "r": 165,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 89.663,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80879,
    "c": 0.12608,
    "h": 130.3
  },
  "luminance": 0.54956
}

Semantic roles & 50–950 ramp

primary
#A5D178
secondary
#764E9F
accent
#29BC72
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150F
muted
#828480

Preview Lab

Preview with #A5D178

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

Preview Lab → · Contrast checker → · Palette generator →

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