#8AF797#8AF797

#8AF797 is a very light, vivid green. Relative luminance 0.742; OKLCH L 88.8% C 0.165 H 146.7°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#8AF797
RGBrgb(138, 247, 151)
HSLhsl(127, 87%, 75%)
HSVhsv(127, 44%, 97%)
CMYKcmyk(44.1%, 0%, 38.9%, 3.1%)
CIE-LABlab(89.00, -50.77, 36.62)
CIE-LCHlch(89.00, 62.60, 144.20°)
OKLaboklab(88.76% -0.138 0.0908)
OKLCHoklch(88.76% 0.165 146.7)
XYZxyz(49.3252, 74.1558, 40.9865)
Luminance0.7416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AF797 #F78AEA
analogous
#B3F78A #8AF797 #8AF7CD
triadic
#8AF797 #978AF7 #F7978A
tetradic
#8AF797 #8AB3F7 #F78AEA #F7CD8A
square
#8AF797 #8AB3F7 #F78AEA #F7CD8A
split-complementary
#8AF797 #CD8AF7 #F78AB3
monochromatic
#17EF31 #51F364 #8AF797 #C3FBCA #E2FDE6

Accessibility & contrast

On white

1.33
#8AF797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#8AF797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AF797
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AF797#FFFFFF#000000##000000
##8AF7971.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE690
Deuteranopia (green-blind)
#EADB9D
Tritanopia (blue-blind)
#79F2DF
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #8af797;
/* rgb */ color: rgb(138, 247, 151);
/* oklch */ color: oklch(88.8% 0.165 146.7);
Tailwind
colors: {
  custom: {
    50: '#b1fab6',
    500: '#8af797',
    950: '#000000',
  },
}
SCSS
$custom: #8af797;
$custom-light: #b1fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#8af797",
  "rgb": {
    "r": 138,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 127.156,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.8876,
    "c": 0.16523,
    "h": 146.7
  },
  "luminance": 0.74159
}

Semantic roles & 50–950 ramp

primary
#8AF797
secondary
#D550C5
accent
#02C9E4
background
#FDFFFD
surface
#F8FFF8
border
#D1D7D1
text
#111711
muted
#818581

Preview Lab

Preview with #8AF797

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

Preview Lab → · Contrast checker → · Palette generator →

#8AF797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva