#AFF798#AFF798

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

Color values

HEX#AFF798
RGBrgb(175, 247, 152)
HSLhsl(105, 86%, 78%)
HSVhsv(105, 38%, 97%)
CMYKcmyk(29.1%, 0%, 38.5%, 3.1%)
CIE-LABlab(90.73, -39.39, 38.72)
CIE-LCHlch(90.73, 55.24, 135.49°)
OKLaboklab(90.64% -0.1076 0.0957)
OKLCHoklch(90.64% 0.144 138.4)
XYZxyz(56.6057, 77.9004, 41.7535)
Luminance0.7790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF798 #E098F7
analogous
#DEF798 #AFF798 #98F7B0
triadic
#AFF798 #98AFF7 #F798AF
tetradic
#AFF798 #98DEF7 #E098F7 #F7B098
square
#AFF798 #98DEF7 #E098F7 #F7B098
split-complementary
#AFF798 #B098F7 #F798DE
monochromatic
#57EE26 #83F35F #AFF798 #DBFBD1 #E9FDE3

Accessibility & contrast

On white

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

On black

16.58
#AFF798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF798
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF798#FFFFFF#000000##000000
##AFF7981.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aff798;
/* rgb */ color: rgb(175, 247, 152);
/* oklch */ color: oklch(90.6% 0.144 138.4);
Tailwind
colors: {
  custom: {
    50: '#c9fab7',
    500: '#aff798',
    950: '#000000',
  },
}
SCSS
$custom: #aff798;
$custom-light: #c9fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#aff798",
  "rgb": {
    "r": 175,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 105.474,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.9064,
    "c": 0.144,
    "h": 138.4
  },
  "luminance": 0.77902
}

Semantic roles & 50–950 ramp

primary
#AFF798
secondary
#B95DD6
accent
#03E2AC
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131711
muted
#838581

Preview Lab

Preview with #AFF798

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

Preview Lab → · Contrast checker → · Palette generator →

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