#AFEF7D#AFEF7D

#AFEF7D is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.4% C 0.159 H 132.9°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#AFEF7D
RGBrgb(175, 239, 125)
HSLhsl(94, 78%, 71%)
HSVhsv(94, 48%, 94%)
CMYKcmyk(26.8%, 0%, 47.7%, 6.3%)
CIE-LABlab(88.13, -39.23, 48.51)
CIE-LCHlch(88.13, 62.39, 128.96°)
OKLaboklab(88.41% -0.1084 0.1167)
OKLCHoklch(88.41% 0.159 132.9)
XYZxyz(52.2464, 72.3261, 30.6057)
Luminance0.7233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF7D #BD7DEF
analogous
#E8EF7D #AFEF7D #7DEF84
triadic
#AFEF7D #7DAFEF #EF7DAF
tetradic
#AFEF7D #7DE8EF #BD7DEF #EF847D
square
#AFEF7D #7DE8EF #BD7DEF #EF847D
split-complementary
#AFEF7D #847DEF #EF7DE8
monochromatic
#6DD71A #8DE847 #AFEF7D #D1F6B3 #EEFCE4

Accessibility & contrast

On white

1.36
#AFEF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#AFEF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF7D
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF7D#FFFFFF#000000##000000
##AFEF7D1.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E073
Deuteranopia (green-blind)
#EEDB84
Tritanopia (blue-blind)
#B0E7D4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef7d;
/* rgb */ color: rgb(175, 239, 125);
/* oklch */ color: oklch(88.4% 0.159 132.9);
Tailwind
colors: {
  custom: {
    50: '#c9f4a5',
    500: '#afef7d',
    950: '#000000',
  },
}
SCSS
$custom: #afef7d;
$custom-light: #c9f4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afef7d",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 125
  },
  "hsl": {
    "h": 93.684,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88409,
    "c": 0.15929,
    "h": 132.9
  },
  "luminance": 0.72328
}

Semantic roles & 50–950 ramp

primary
#AFEF7D
secondary
#9047C9
accent
#0BDA7F
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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