#AFEF73#AFEF73

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

Color values

HEX#AFEF73
RGBrgb(175, 239, 115)
HSLhsl(91, 79%, 69%)
HSVhsv(91, 52%, 94%)
CMYKcmyk(26.8%, 0%, 51.9%, 6.3%)
CIE-LABlab(88.01, -40.32, 53.04)
CIE-LCHlch(88.01, 66.63, 127.24°)
OKLaboklab(88.28% -0.1121 0.1261)
OKLCHoklch(88.28% 0.169 131.6)
XYZxyz(51.6395, 72.0833, 27.4091)
Luminance0.7208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF73 #B373EF
analogous
#EDEF73 #AFEF73 #73EF75
triadic
#AFEF73 #73AFEF #EF73AF
tetradic
#AFEF73 #73EDEF #B373EF #EF7573
square
#AFEF73 #73EDEF #B373EF #EF7573
split-complementary
#AFEF73 #7573EF #EF73ED
monochromatic
#71D018 #90E93C #AFEF73 #CEF5AA #EEFCE1

Accessibility & contrast

On white

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

On black

15.42
#AFEF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF73
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF73#FFFFFF#000000##000000
##AFEF731.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afef73;
/* rgb */ color: rgb(175, 239, 115);
/* oklch */ color: oklch(88.3% 0.169 131.6);
Tailwind
colors: {
  custom: {
    50: '#caf49e',
    500: '#afef73',
    950: '#000000',
  },
}
SCSS
$custom: #afef73;
$custom-light: #caf49e;
$custom-dark: #000000;
JSON
{
  "hex": "#afef73",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 115
  },
  "hsl": {
    "h": 90.968,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88277,
    "c": 0.16866,
    "h": 131.6
  },
  "luminance": 0.72085
}

Semantic roles & 50–950 ramp

primary
#AFEF73
secondary
#853EC8
accent
#0ADC76
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF73

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

Preview Lab → · Contrast checker → · Palette generator →

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