#AFF797#AFF797

#AFF797 is a very light, vivid green. Relative luminance 0.779; OKLCH L 90.6% C 0.145 H 138.2°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#AFF797
RGBrgb(175, 247, 151)
HSLhsl(105, 86%, 78%)
HSVhsv(105, 39%, 97%)
CMYKcmyk(29.1%, 0%, 38.9%, 3.1%)
CIE-LABlab(90.72, -39.53, 39.20)
CIE-LCHlch(90.72, 55.67, 135.24°)
OKLaboklab(90.62% -0.108 0.0967)
OKLCHoklch(90.62% 0.145 138.2)
XYZxyz(56.5241, 77.8678, 41.3240)
Luminance0.7787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF797 #DF97F7
analogous
#DFF797 #AFF797 #97F7AF
triadic
#AFF797 #97AFF7 #F797AF
tetradic
#AFF797 #97DFF7 #DF97F7 #F7AF97
square
#AFF797 #97DFF7 #DF97F7 #F7AF97
split-complementary
#AFF797 #AF97F7 #F797DF
monochromatic
#58EE25 #83F35E #AFF797 #DBFBD0 #E9FDE3

Accessibility & contrast

On white

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

On black

16.57
#AFF797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF797
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF797#FFFFFF#000000##000000
##AFF7971.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE990
Deuteranopia (green-blind)
#F2E29C
Tritanopia (blue-blind)
#ACF1DF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff797;
/* rgb */ color: rgb(175, 247, 151);
/* oklch */ color: oklch(90.6% 0.145 138.2);
Tailwind
colors: {
  custom: {
    50: '#c9fab6',
    500: '#aff797',
    950: '#000000',
  },
}
SCSS
$custom: #aff797;
$custom-light: #c9fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#aff797",
  "rgb": {
    "r": 175,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 105,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.90623,
    "c": 0.14502,
    "h": 138.2
  },
  "luminance": 0.7787
}

Semantic roles & 50–950 ramp

primary
#AFF797
secondary
#B85CD6
accent
#03E2AA
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131711
muted
#838581

Preview Lab

Preview with #AFF797

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

Preview Lab → · Contrast checker → · Palette generator →

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