#A5D54A#A5D54A

#A5D54A is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.2% C 0.173 H 126.3°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#A5D54A
RGBrgb(165, 213, 74)
HSLhsl(81, 62%, 56%)
HSVhsv(81, 65%, 84%)
CMYKcmyk(22.5%, 0%, 65.3%, 16.5%)
CIE-LABlab(79.66, -35.93, 61.26)
CIE-LCHlch(79.66, 71.02, 120.39°)
OKLaboklab(81.24% -0.1027 0.1396)
OKLCHoklch(81.24% 0.173 126.3)
XYZxyz(40.5474, 56.0816, 15.1659)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D54A #7A4AD5
analogous
#D5BF4A #A5D54A #60D54A
triadic
#A5D54A #4AA5D5 #D54AA5
tetradic
#A5D54A #4AD5BF #7A4AD5 #D54A60
square
#A5D54A #4AD5BF #7A4AD5 #D54A60
split-complementary
#A5D54A #4A60D5 #BF4AD5
monochromatic
#62861F #87B72B #A5D54A #BEE17C #D6ECAD

Accessibility & contrast

On white

1.72
#A5D54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#A5D54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D54A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D54A#FFFFFF#000000##000000
##A5D54A1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C737
Deuteranopia (green-blind)
#D9C555
Tritanopia (blue-blind)
#ABCBB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a5d54a;
/* rgb */ color: rgb(165, 213, 74);
/* oklch */ color: oklch(81.2% 0.173 126.3);
Tailwind
colors: {
  custom: {
    50: '#c3e283',
    500: '#a5d54a',
    950: '#000000',
  },
}
SCSS
$custom: #a5d54a;
$custom-light: #c3e283;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d54a",
  "rgb": {
    "r": 165,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 80.719,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8124,
    "c": 0.17328,
    "h": 126.3
  },
  "luminance": 0.56082
}

Semantic roles & 50–950 ramp

primary
#A5D54A
secondary
#54378C
accent
#42E57B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5D54A

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

Preview Lab → · Contrast checker → · Palette generator →

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