#AFEF97#AFEF97

#AFEF97 is a very light, vivid green. Relative luminance 0.731; OKLCH L 88.8% C 0.133 H 137.5°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#AFEF97
RGBrgb(175, 239, 151)
HSLhsl(104, 73%, 76%)
HSVhsv(104, 37%, 94%)
CMYKcmyk(26.8%, 0%, 36.8%, 6.3%)
CIE-LABlab(88.49, -35.92, 36.28)
CIE-LCHlch(88.49, 51.06, 134.71°)
OKLaboklab(88.82% -0.0981 0.09)
OKLCHoklch(88.82% 0.133 137.5)
XYZxyz(54.1300, 73.0796, 40.5259)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF97 #D797EF
analogous
#DBEF97 #AFEF97 #97EFAB
triadic
#AFEF97 #97AFEF #EF97AF
tetradic
#AFEF97 #97DBEF #D797EF #EFAB97
square
#AFEF97 #97DBEF #D797EF #EFAB97
split-complementary
#AFEF97 #AB97EF #EF97DB
monochromatic
#5DDF2D #86E762 #AFEF97 #D8F7CC #EBFBE4

Accessibility & contrast

On white

1.34
#AFEF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#AFEF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF97
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF97#FFFFFF#000000##000000
##AFEF971.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E291
Deuteranopia (green-blind)
#EBDC9C
Tritanopia (blue-blind)
#ADE9D9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #afef97;
/* rgb */ color: rgb(175, 239, 151);
/* oklch */ color: oklch(88.8% 0.133 137.5);
Tailwind
colors: {
  custom: {
    50: '#c8f4b6',
    500: '#afef97',
    950: '#000000',
  },
}
SCSS
$custom: #afef97;
$custom-light: #c8f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afef97",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 103.636,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.88818,
    "c": 0.13311,
    "h": 137.5
  },
  "luminance": 0.73081
}

Semantic roles & 50–950 ramp

primary
#AFEF97
secondary
#AE5FCB
accent
#10D5A0
background
#FEFFFD
surface
#FAFEF8
border
#D3D6D1
text
#131711
muted
#838581

Preview Lab

Preview with #AFEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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