#AFEF72#AFEF72

#AFEF72 is a very light, vivid yellow-green. Relative luminance 0.721; OKLCH L 88.3% C 0.170 H 131.5°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#AFEF72
RGBrgb(175, 239, 114)
HSLhsl(91, 80%, 69%)
HSVhsv(91, 52%, 94%)
CMYKcmyk(26.8%, 0%, 52.3%, 6.3%)
CIE-LABlab(88.00, -40.42, 53.49)
CIE-LCHlch(88.00, 67.05, 127.08°)
OKLaboklab(88.27% -0.1124 0.127)
OKLCHoklch(88.27% 0.17 131.5)
XYZxyz(51.5823, 72.0604, 27.1077)
Luminance0.7206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF72 #B272EF
analogous
#EEEF72 #AFEF72 #72EF74
triadic
#AFEF72 #72AFEF #EF72AF
tetradic
#AFEF72 #72EEEF #B272EF #EF7472
square
#AFEF72 #72EEEF #B272EF #EF7472
split-complementary
#AFEF72 #7472EF #EF72EE
monochromatic
#71CF18 #90E93B #AFEF72 #CEF5A9 #EDFBE0

Accessibility & contrast

On white

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

On black

15.41
#AFEF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF72
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF72#FFFFFF#000000##000000
##AFEF721.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E066
Deuteranopia (green-blind)
#EFDB7A
Tritanopia (blue-blind)
#B1E6D3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef72;
/* rgb */ color: rgb(175, 239, 114);
/* oklch */ color: oklch(88.3% 0.170 131.5);
Tailwind
colors: {
  custom: {
    50: '#caf49d',
    500: '#afef72',
    950: '#000000',
  },
}
SCSS
$custom: #afef72;
$custom-light: #caf49d;
$custom-dark: #000000;
JSON
{
  "hex": "#afef72",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 114
  },
  "hsl": {
    "h": 90.72,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88265,
    "c": 0.16957,
    "h": 131.5
  },
  "luminance": 0.72062
}

Semantic roles & 50–950 ramp

primary
#AFEF72
secondary
#843DC8
accent
#0ADC75
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF72

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

Preview Lab → · Contrast checker → · Palette generator →

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