#AFEF5D#AFEF5D

#AFEF5D is a very light, vivid yellow-green. Relative luminance 0.716; OKLCH L 88.0% C 0.187 H 129.6°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#AFEF5D
RGBrgb(175, 239, 93)
HSLhsl(86, 82%, 65%)
HSVhsv(86, 61%, 94%)
CMYKcmyk(26.8%, 0%, 61.1%, 6.3%)
CIE-LABlab(87.79, -42.36, 62.46)
CIE-LCHlch(87.79, 75.47, 124.15°)
OKLaboklab(88.03% -0.1194 0.1443)
OKLCHoklch(88.03% 0.187 129.6)
XYZxyz(50.5212, 71.6360, 21.5192)
Luminance0.7164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF5D #9D5DEF
analogous
#EFE65D #AFEF5D #66EF5D
triadic
#AFEF5D #5DAFEF #EF5DAF
tetradic
#AFEF5D #5DEFE6 #9D5DEF #EF5D66
square
#AFEF5D #5DEFE6 #9D5DEF #EF5D66
split-complementary
#AFEF5D #5D66EF #E65DEF
monochromatic
#73BF13 #93E925 #AFEF5D #CBF595 #E6FACC

Accessibility & contrast

On white

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

On black

15.33
#AFEF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF5D
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF5D#FFFFFF#000000##000000
##AFEF5D1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4C
Deuteranopia (green-blind)
#F0DB68
Tritanopia (blue-blind)
#B3E5D0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afef5d;
/* rgb */ color: rgb(175, 239, 93);
/* oklch */ color: oklch(88.0% 0.187 129.6);
Tailwind
colors: {
  custom: {
    50: '#caf490',
    500: '#afef5d',
    950: '#000000',
  },
}
SCSS
$custom: #afef5d;
$custom-light: #caf490;
$custom-dark: #000000;
JSON
{
  "hex": "#afef5d",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 93
  },
  "hsl": {
    "h": 86.301,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.88033,
    "c": 0.18724,
    "h": 129.6
  },
  "luminance": 0.71637
}

Semantic roles & 50–950 ramp

primary
#AFEF5D
secondary
#7033BD
accent
#07DE65
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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