#A5D479#A5D479

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

Color values

HEX#A5D479
RGBrgb(165, 212, 121)
HSLhsl(91, 51%, 65%)
HSVhsv(91, 43%, 83%)
CMYKcmyk(22.2%, 0%, 42.9%, 16.9%)
CIE-LABlab(79.88, -30.89, 40.05)
CIE-LCHlch(79.88, 50.58, 127.64°)
OKLaboklab(81.58% -0.085 0.0976)
OKLCHoklch(81.58% 0.129 131.1)
XYZxyz(42.5111, 56.4659, 26.7447)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D479 #A879D4
analogous
#D2D479 #A5D479 #79D47A
triadic
#A5D479 #79A5D4 #D479A5
tetradic
#A5D479 #79D2D4 #A879D4 #D47A79
square
#A5D479 #79D2D4 #A879D4 #D47A79
split-complementary
#A5D479 #7A79D4 #D479D2
monochromatic
#689F33 #86C54B #A5D479 #C4E3A7 #E3F2D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5D479#FFFFFF#000000##000000
##A5D4791.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)
#DBC872
Deuteranopia (green-blind)
#D4C57E
Tritanopia (blue-blind)
#A7CDBE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a5d479;
/* rgb */ color: rgb(165, 212, 121);
/* oklch */ color: oklch(81.6% 0.129 131.1);
Tailwind
colors: {
  custom: {
    50: '#c1e1a1',
    500: '#a5d479',
    950: '#000000',
  },
}
SCSS
$custom: #a5d479;
$custom-light: #c1e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d479",
  "rgb": {
    "r": 165,
    "g": 212,
    "b": 121
  },
  "hsl": {
    "h": 90.989,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81579,
    "c": 0.12944,
    "h": 131.1
  },
  "luminance": 0.56467
}

Semantic roles & 50–950 ramp

primary
#A5D479
secondary
#7A4DA4
accent
#27BF75
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150F
muted
#828480

Preview Lab

Preview with #A5D479

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

Preview Lab → · Contrast checker → · Palette generator →

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