#AFE997#AFE997

#AFE997 is a very light, vivid green. Relative luminance 0.696; OKLCH L 87.5% C 0.124 H 136.9°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#AFE997
RGBrgb(175, 233, 151)
HSLhsl(102, 65%, 75%)
HSVhsv(102, 35%, 91%)
CMYKcmyk(24.9%, 0%, 35.2%, 8.6%)
CIE-LABlab(86.81, -33.17, 34.08)
CIE-LCHlch(86.81, 47.56, 134.22°)
OKLaboklab(87.47% -0.0905 0.0848)
OKLCHoklch(87.47% 0.124 136.9)
XYZxyz(52.4026, 69.6246, 39.9501)
Luminance0.6963 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE997 #D197E9
analogous
#D8E997 #AFE997 #97E9A8
triadic
#AFE997 #97AFE9 #E997AF
tetradic
#AFE997 #97D8E9 #D197E9 #E9A897
square
#AFE997 #97D8E9 #D197E9 #E9A897
split-complementary
#AFE997 #A897E9 #E997D8
monochromatic
#61D432 #88DE64 #AFE997 #D6F4CA #ECFAE6

Accessibility & contrast

On white

1.41
#AFE997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#AFE997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE997
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE997#FFFFFF#000000##000000
##AFE9971.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD91
Deuteranopia (green-blind)
#E6D79B
Tritanopia (blue-blind)
#ADE3D4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afe997;
/* rgb */ color: rgb(175, 233, 151);
/* oklch */ color: oklch(87.5% 0.124 136.9);
Tailwind
colors: {
  custom: {
    50: '#c8f0b6',
    500: '#afe997',
    950: '#000000',
  },
}
SCSS
$custom: #afe997;
$custom-light: #c8f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe997",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 102.439,
    "s": 65.079,
    "l": 75.294
  },
  "oklch": {
    "l": 0.87468,
    "c": 0.12403,
    "h": 136.9
  },
  "luminance": 0.69626
}

Semantic roles & 50–950 ramp

primary
#AFE997
secondary
#A760C4
accent
#19CD98
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE997

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

Preview Lab → · Contrast checker → · Palette generator →

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