#AFFF8C#AFFF8C

#AFFF8C is a very light, vivid green. Relative luminance 0.825; OKLCH L 92.3% C 0.167 H 136.8°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#AFFF8C
RGBrgb(175, 255, 140)
HSLhsl(102, 100%, 77%)
HSVhsv(102, 45%, 100%)
CMYKcmyk(31.4%, 0%, 45.1%, 0%)
CIE-LABlab(92.81, -44.48, 47.19)
CIE-LCHlch(92.81, 64.85, 133.30°)
OKLaboklab(92.26% -0.1221 0.1146)
OKLCHoklch(92.26% 0.167 136.8)
XYZxyz(58.1712, 82.5251, 37.6698)
Luminance0.8253 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF8C #DC8CFF
analogous
#E9FF8C #AFFF8C #8CFFA2
triadic
#AFFF8C #8CAFFF #FF8CAF
tetradic
#AFFF8C #8CE9FF #DC8CFF #FFA28C
square
#AFFF8C #8CE9FF #DC8CFF #FFA28C
split-complementary
#AFFF8C #A28CFF #FF8CE9
monochromatic
#5AFF12 #84FF4F #AFFF8C #DAFFC9 #EAFFE0

Accessibility & contrast

On white

1.20
#AFFF8C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#AFFF8C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF8C
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF8C#FFFFFF#000000##000000
##AFFF8C1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF83
Deuteranopia (green-blind)
#FAE893
Tritanopia (blue-blind)
#ACF8E4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #afff8c;
/* rgb */ color: rgb(175, 255, 140);
/* oklch */ color: oklch(92.3% 0.167 136.8);
Tailwind
colors: {
  custom: {
    50: '#caffaf',
    500: '#afff8c',
    950: '#000000',
  },
}
SCSS
$custom: #afff8c;
$custom-light: #caffaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afff8c",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 140
  },
  "hsl": {
    "h": 101.739,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92264,
    "c": 0.16742,
    "h": 136.8
  },
  "luminance": 0.82527
}

Semantic roles & 50–950 ramp

primary
#AFFF8C
secondary
#B44FE0
accent
#00E6A0
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131810
muted
#838681

Preview Lab

Preview with #AFFF8C

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

Preview Lab → · Contrast checker → · Palette generator →

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