#AFEF58#AFEF58

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

Color values

HEX#AFEF58
RGBrgb(175, 239, 88)
HSLhsl(85, 83%, 64%)
HSVhsv(85, 63%, 94%)
CMYKcmyk(26.8%, 0%, 63.2%, 6.3%)
CIE-LABlab(87.75, -42.75, 64.46)
CIE-LCHlch(87.75, 77.35, 123.56°)
OKLaboklab(87.99% -0.1209 0.1479)
OKLCHoklch(87.99% 0.191 129.3)
XYZxyz(50.3069, 71.5503, 20.3907)
Luminance0.7155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF58 #9858EF
analogous
#EFE358 #AFEF58 #64EF58
triadic
#AFEF58 #58AFEF #EF58AF
tetradic
#AFEF58 #58EFE3 #9858EF #EF5864
square
#AFEF58 #58EFE3 #9858EF #EF5864
split-complementary
#AFEF58 #5864EF #E358EF
monochromatic
#73BB12 #94EA20 #AFEF58 #CAF490 #E5FAC8

Accessibility & contrast

On white

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

On black

15.31
#AFEF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF58
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF58#FFFFFF#000000##000000
##AFEF581.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF45
Deuteranopia (green-blind)
#F1DB64
Tritanopia (blue-blind)
#B4E5D0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afef58;
/* rgb */ color: rgb(175, 239, 88);
/* oklch */ color: oklch(88.0% 0.191 129.3);
Tailwind
colors: {
  custom: {
    50: '#cbf48d',
    500: '#afef58',
    950: '#000000',
  },
}
SCSS
$custom: #afef58;
$custom-light: #cbf48d;
$custom-dark: #000000;
JSON
{
  "hex": "#afef58",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 88
  },
  "hsl": {
    "h": 85.43,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87986,
    "c": 0.19101,
    "h": 129.3
  },
  "luminance": 0.71552
}

Semantic roles & 50–950 ramp

primary
#AFEF58
secondary
#6B32BA
accent
#07DF62
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEF58

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

Preview Lab → · Contrast checker → · Palette generator →

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