#AFEF8D#AFEF8D

#AFEF8D is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 88.6% C 0.143 H 135.4°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#AFEF8D
RGBrgb(175, 239, 141)
HSLhsl(99, 75%, 75%)
HSVhsv(99, 41%, 94%)
CMYKcmyk(26.8%, 0%, 41%, 6.3%)
CIE-LABlab(88.34, -37.28, 41.05)
CIE-LCHlch(88.34, 55.45, 132.24°)
OKLaboklab(88.65% -0.1022 0.1007)
OKLCHoklch(88.65% 0.143 135.4)
XYZxyz(53.3521, 72.7684, 36.4289)
Luminance0.7277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF8D #CD8DEF
analogous
#E0EF8D #AFEF8D #8DEF9C
triadic
#AFEF8D #8DAFEF #EF8DAF
tetradic
#AFEF8D #8DE0EF #CD8DEF #EF9C8D
square
#AFEF8D #8DE0EF #CD8DEF #EF9C8D
split-complementary
#AFEF8D #9C8DEF #EF8DE0
monochromatic
#64E022 #89E757 #AFEF8D #D5F7C3 #ECFBE4

Accessibility & contrast

On white

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

On black

15.55
#AFEF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF8D
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF8D#FFFFFF#000000##000000
##AFEF8D1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afef8d;
/* rgb */ color: rgb(175, 239, 141);
/* oklch */ color: oklch(88.6% 0.143 135.4);
Tailwind
colors: {
  custom: {
    50: '#c9f4af',
    500: '#afef8d',
    950: '#000000',
  },
}
SCSS
$custom: #afef8d;
$custom-light: #c9f4af;
$custom-dark: #000000;
JSON
{
  "hex": "#afef8d",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 141
  },
  "hsl": {
    "h": 99.184,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.8865,
    "c": 0.14342,
    "h": 135.4
  },
  "luminance": 0.7277
}

Semantic roles & 50–950 ramp

primary
#AFEF8D
secondary
#A256CB
accent
#0ED892
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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