#A5D478#A5D478

#A5D478 is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.6% C 0.130 H 130.9°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#A5D478
RGBrgb(165, 212, 120)
HSLhsl(91, 52%, 65%)
HSVhsv(91, 43%, 83%)
CMYKcmyk(22.2%, 0%, 43.4%, 16.9%)
CIE-LABlab(79.86, -31.02, 40.53)
CIE-LCHlch(79.86, 51.04, 127.42°)
OKLaboklab(81.56% -0.0854 0.0986)
OKLCHoklch(81.56% 0.13 130.9)
XYZxyz(42.4501, 56.4415, 26.4234)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D478 #A778D4
analogous
#D3D478 #A5D478 #78D479
triadic
#A5D478 #78A5D4 #D478A5
tetradic
#A5D478 #78D3D4 #A778D4 #D47978
square
#A5D478 #78D3D4 #A778D4 #D47978
split-complementary
#A5D478 #7978D4 #D478D3
monochromatic
#689F33 #86C54A #A5D478 #C4E3A6 #E3F2D5

Accessibility & contrast

On white

1.71
#A5D478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#A5D478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D478
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D478#FFFFFF#000000##000000
##A5D4781.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#D5C57D
Tritanopia (blue-blind)
#A7CDBE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a5d478;
/* rgb */ color: rgb(165, 212, 120);
/* oklch */ color: oklch(81.6% 0.130 130.9);
Tailwind
colors: {
  custom: {
    50: '#c1e1a0',
    500: '#a5d478',
    950: '#000000',
  },
}
SCSS
$custom: #a5d478;
$custom-light: #c1e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d478",
  "rgb": {
    "r": 165,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 90.652,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81563,
    "c": 0.13049,
    "h": 130.9
  },
  "luminance": 0.56442
}

Semantic roles & 50–950 ramp

primary
#A5D478
secondary
#794DA4
accent
#26BF74
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150F
muted
#828480

Preview Lab

Preview with #A5D478

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

Preview Lab → · Contrast checker → · Palette generator →

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