#AFED8B#AFED8B

#AFED8B is a very light, vivid yellow-green. Relative luminance 0.715; OKLCH L 88.2% C 0.143 H 134.8°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#AFED8B
RGBrgb(175, 237, 139)
HSLhsl(98, 73%, 74%)
HSVhsv(98, 41%, 93%)
CMYKcmyk(26.2%, 0%, 41.4%, 7.1%)
CIE-LABlab(87.75, -36.63, 41.28)
CIE-LCHlch(87.75, 55.19, 131.59°)
OKLaboklab(88.17% -0.1005 0.1011)
OKLCHoklch(88.17% 0.143 134.8)
XYZxyz(52.6224, 71.5448, 35.4581)
Luminance0.7155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFED8B #C98BED
analogous
#E0ED8B #AFED8B #8BED98
triadic
#AFED8B #8BAFED #ED8BAF
tetradic
#AFED8B #8BE0ED #C98BED #ED988B
square
#AFED8B #8BE0ED #C98BED #ED988B
split-complementary
#AFED8B #988BED #ED8BE0
monochromatic
#66DC22 #8AE556 #AFED8B #D4F5C0 #EDFBE5

Accessibility & contrast

On white

1.37
#AFED8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#AFED8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFED8B
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFED8B#FFFFFF#000000##000000
##AFED8B1.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF84
Deuteranopia (green-blind)
#EBDA91
Tritanopia (blue-blind)
#AFE6D5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afed8b;
/* rgb */ color: rgb(175, 237, 139);
/* oklch */ color: oklch(88.2% 0.143 134.8);
Tailwind
colors: {
  custom: {
    50: '#c9f3ae',
    500: '#afed8b',
    950: '#000000',
  },
}
SCSS
$custom: #afed8b;
$custom-light: #c9f3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#afed8b",
  "rgb": {
    "r": 175,
    "g": 237,
    "b": 139
  },
  "hsl": {
    "h": 97.959,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.88165,
    "c": 0.14253,
    "h": 134.8
  },
  "luminance": 0.71546
}

Semantic roles & 50–950 ramp

primary
#AFED8B
secondary
#9D54C8
accent
#10D58D
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFED8B

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

Preview Lab → · Contrast checker → · Palette generator →

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