#AFEF8E#AFEF8E

#AFEF8E is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 88.7% C 0.142 H 135.6°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#AFEF8E
RGBrgb(175, 239, 142)
HSLhsl(100, 75%, 75%)
HSVhsv(100, 41%, 94%)
CMYKcmyk(26.8%, 0%, 40.6%, 6.3%)
CIE-LABlab(88.35, -37.15, 40.57)
CIE-LCHlch(88.35, 55.01, 132.47°)
OKLaboklab(88.67% -0.1018 0.0996)
OKLCHoklch(88.67% 0.142 135.6)
XYZxyz(53.4268, 72.7983, 36.8225)
Luminance0.7280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF8E #CE8EEF
analogous
#DFEF8E #AFEF8E #8EEF9E
triadic
#AFEF8E #8EAFEF #EF8EAF
tetradic
#AFEF8E #8EDFEF #CE8EEF #EF9E8E
square
#AFEF8E #8EDFEF #CE8EEF #EF9E8E
split-complementary
#AFEF8E #9E8EEF #EF8EDF
monochromatic
#63E023 #89E758 #AFEF8E #D5F7C4 #ECFBE4

Accessibility & contrast

On white

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

On black

15.56
#AFEF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF8E
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF8E#FFFFFF#000000##000000
##AFEF8E1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E187
Deuteranopia (green-blind)
#ECDC94
Tritanopia (blue-blind)
#AEE8D7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #afef8e;
/* rgb */ color: rgb(175, 239, 142);
/* oklch */ color: oklch(88.7% 0.142 135.6);
Tailwind
colors: {
  custom: {
    50: '#c9f4b0',
    500: '#afef8e',
    950: '#000000',
  },
}
SCSS
$custom: #afef8e;
$custom-light: #c9f4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#afef8e",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 142
  },
  "hsl": {
    "h": 99.588,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.88666,
    "c": 0.1424,
    "h": 135.6
  },
  "luminance": 0.728
}

Semantic roles & 50–950 ramp

primary
#AFEF8E
secondary
#A356CB
accent
#0ED793
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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