#A7F97A#A7F97A

#A7F97A is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.2% C 0.180 H 135.6°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#A7F97A
RGBrgb(167, 249, 122)
HSLhsl(99, 91%, 73%)
HSVhsv(99, 51%, 98%)
CMYKcmyk(32.9%, 0%, 51%, 2.4%)
CIE-LABlab(90.49, -46.64, 52.70)
CIE-LCHlch(90.49, 70.37, 131.51°)
OKLaboklab(90.21% -0.1286 0.1259)
OKLCHoklch(90.21% 0.18 135.6)
XYZxyz(53.3236, 77.3698, 30.5329)
Luminance0.7737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7F97A #CC7AF9
analogous
#E7F97A #A7F97A #7AF98C
triadic
#A7F97A #7AA7F9 #F97AA7
tetradic
#A7F97A #7AE7F9 #CC7AF9 #F98C7A
square
#A7F97A #7AE7F9 #CC7AF9 #F98C7A
split-complementary
#A7F97A #8C7AF9 #F97AE7
monochromatic
#5BEE0B #80F63F #A7F97A #CEFCB5 #ECFEE2

Accessibility & contrast

On white

1.27
#A7F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#A7F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7F97A
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7F97A#FFFFFF#000000##000000
##A7F97A1.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7f97a;
/* rgb */ color: rgb(167, 249, 122);
/* oklch */ color: oklch(90.2% 0.180 135.6);
Tailwind
colors: {
  custom: {
    50: '#c5fba3',
    500: '#a7f97a',
    950: '#000000',
  },
}
SCSS
$custom: #a7f97a;
$custom-light: #c5fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a7f97a",
  "rgb": {
    "r": 167,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 98.74,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90206,
    "c": 0.17996,
    "h": 135.6
  },
  "luminance": 0.77372
}

Semantic roles & 50–950 ramp

primary
#A7F97A
secondary
#A142D5
accent
#00E694
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A7F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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