#AFF997#AFF997

#AFF997 is a very light, vivid green. Relative luminance 0.791; OKLCH L 91.1% C 0.148 H 138.3°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#AFF997
RGBrgb(175, 249, 151)
HSLhsl(105, 89%, 78%)
HSVhsv(105, 39%, 98%)
CMYKcmyk(29.7%, 0%, 39.4%, 2.4%)
CIE-LABlab(91.28, -40.42, 39.92)
CIE-LCHlch(91.28, 56.81, 135.35°)
OKLaboklab(91.07% -0.1105 0.0984)
OKLCHoklch(91.07% 0.148 138.3)
XYZxyz(57.1390, 79.0975, 41.5289)
Luminance0.7910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF997 #E197F9
analogous
#E0F997 #AFF997 #97F9B0
triadic
#AFF997 #97AFF9 #F997AF
tetradic
#AFF997 #97E0F9 #E197F9 #F9B097
square
#AFF997 #97E0F9 #E197F9 #F9B097
split-complementary
#AFF997 #B097F9 #F997E0
monochromatic
#56F223 #82F65D #AFF997 #DCFCD1 #E9FDE2

Accessibility & contrast

On white

1.25
#AFF997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#AFF997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF997
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF997#FFFFFF#000000##000000
##AFF9971.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA90
Deuteranopia (green-blind)
#F4E39D
Tritanopia (blue-blind)
#ACF3E1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #aff997;
/* rgb */ color: rgb(175, 249, 151);
/* oklch */ color: oklch(91.1% 0.148 138.3);
Tailwind
colors: {
  custom: {
    50: '#c9fbb6',
    500: '#aff997',
    950: '#000000',
  },
}
SCSS
$custom: #aff997;
$custom-light: #c9fbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#aff997",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 105.306,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.91075,
    "c": 0.14797,
    "h": 138.3
  },
  "luminance": 0.791
}

Semantic roles & 50–950 ramp

primary
#AFF997
secondary
#BA5BD9
accent
#00E6AD
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131711
muted
#838581

Preview Lab

Preview with #AFF997

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

Preview Lab → · Contrast checker → · Palette generator →

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