#A5F97A#A5F97A

#A5F97A is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.1% C 0.181 H 136.1°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#A5F97A
RGBrgb(165, 249, 122)
HSLhsl(100, 91%, 73%)
HSVhsv(100, 51%, 98%)
CMYKcmyk(33.7%, 0%, 51%, 2.4%)
CIE-LABlab(90.39, -47.29, 52.56)
CIE-LCHlch(90.39, 70.70, 131.98°)
OKLaboklab(90.1% -0.1303 0.1256)
OKLCHoklch(90.1% 0.181 136.1)
XYZxyz(52.9042, 77.1536, 30.5132)
Luminance0.7716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F97A #CE7AF9
analogous
#E5F97A #A5F97A #7AF98E
triadic
#A5F97A #7AA5F9 #F97AA5
tetradic
#A5F97A #7AE5F9 #CE7AF9 #F98E7A
square
#A5F97A #7AE5F9 #CE7AF9 #F98E7A
split-complementary
#A5F97A #8E7AF9 #F97AE5
monochromatic
#58EE0B #7DF63F #A5F97A #CDFCB5 #EBFEE2

Accessibility & contrast

On white

1.28
#A5F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#A5F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F97A
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F97A#FFFFFF#000000##000000
##A5F97A1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#F5E182
Tritanopia (blue-blind)
#A3F1DC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a5f97a;
/* rgb */ color: rgb(165, 249, 122);
/* oklch */ color: oklch(90.1% 0.181 136.1);
Tailwind
colors: {
  custom: {
    50: '#c3fca3',
    500: '#a5f97a',
    950: '#000000',
  },
}
SCSS
$custom: #a5f97a;
$custom-light: #c3fca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f97a",
  "rgb": {
    "r": 165,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 99.685,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90098,
    "c": 0.18098,
    "h": 136.1
  },
  "luminance": 0.77156
}

Semantic roles & 50–950 ramp

primary
#A5F97A
secondary
#A342D5
accent
#00E698
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A5F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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