#A6F797#A6F797

#A6F797 is a very light, vivid green. Relative luminance 0.769; OKLCH L 90.1% C 0.150 H 140.6°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#A6F797
RGBrgb(166, 247, 151)
HSLhsl(111, 86%, 78%)
HSVhsv(111, 39%, 97%)
CMYKcmyk(32.8%, 0%, 38.9%, 3.1%)
CIE-LABlab(90.26, -42.44, 38.51)
CIE-LCHlch(90.26, 57.30, 137.78°)
OKLaboklab(90.13% -0.1158 0.0952)
OKLCHoklch(90.13% 0.15 140.6)
XYZxyz(54.5706, 76.8604, 41.2324)
Luminance0.7686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F797 #E897F7
analogous
#D6F797 #A6F797 #97F7B8
triadic
#A6F797 #97A6F7 #F797A6
tetradic
#A6F797 #97D6F7 #E897F7 #F7B897
square
#A6F797 #97D6F7 #E897F7 #F7B897
split-complementary
#A6F797 #B897F7 #F797D6
monochromatic
#45EE25 #75F35E #A6F797 #D7FBD0 #E7FDE3

Accessibility & contrast

On white

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

On black

16.37
#A6F797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F797
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F797#FFFFFF#000000##000000
##A6F7971.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE890
Deuteranopia (green-blind)
#F0E09D
Tritanopia (blue-blind)
#A0F1DF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a6f797;
/* rgb */ color: rgb(166, 247, 151);
/* oklch */ color: oklch(90.1% 0.150 140.6);
Tailwind
colors: {
  custom: {
    50: '#c3fab6',
    500: '#a6f797',
    950: '#000000',
  },
}
SCSS
$custom: #a6f797;
$custom-light: #c3fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f797",
  "rgb": {
    "r": 166,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 110.625,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.90126,
    "c": 0.14991,
    "h": 140.6
  },
  "luminance": 0.76863
}

Semantic roles & 50–950 ramp

primary
#A6F797
secondary
#C35CD6
accent
#03E2BF
background
#FDFFFD
surface
#F9FFF8
border
#D2D7D1
text
#131711
muted
#828581

Preview Lab

Preview with #A6F797

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

Preview Lab → · Contrast checker → · Palette generator →

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