#AFEF8A#AFEF8A

#AFEF8A is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 88.6% C 0.146 H 134.9°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#AFEF8A
RGBrgb(175, 239, 138)
HSLhsl(98, 76%, 74%)
HSVhsv(98, 42%, 94%)
CMYKcmyk(26.8%, 0%, 42.3%, 6.3%)
CIE-LABlab(88.30, -37.66, 42.47)
CIE-LCHlch(88.30, 56.76, 131.57°)
OKLaboklab(88.6% -0.1033 0.1038)
OKLCHoklch(88.6% 0.146 134.9)
XYZxyz(53.1319, 72.6803, 35.2691)
Luminance0.7268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF8A #CA8AEF
analogous
#E2EF8A #AFEF8A #8AEF98
triadic
#AFEF8A #8AAFEF #EF8AAF
tetradic
#AFEF8A #8AE2EF #CA8AEF #EF988A
square
#AFEF8A #8AE2EF #CA8AEF #EF988A
split-complementary
#AFEF8A #988AEF #EF8AE2
monochromatic
#65E01F #8AE854 #AFEF8A #D4F6C0 #EDFBE4

Accessibility & contrast

On white

1.35
#AFEF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#AFEF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF8A
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF8A#FFFFFF#000000##000000
##AFEF8A1.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E182
Deuteranopia (green-blind)
#ECDC90
Tritanopia (blue-blind)
#AFE8D7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #afef8a;
/* rgb */ color: rgb(175, 239, 138);
/* oklch */ color: oklch(88.6% 0.146 134.9);
Tailwind
colors: {
  custom: {
    50: '#c9f4ad',
    500: '#afef8a',
    950: '#000000',
  },
}
SCSS
$custom: #afef8a;
$custom-light: #c9f4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afef8a",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 98.02,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88602,
    "c": 0.14646,
    "h": 134.9
  },
  "luminance": 0.72682
}

Semantic roles & 50–950 ramp

primary
#AFEF8A
secondary
#9F53CA
accent
#0DD88E
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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