#AFEF5A#AFEF5A

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

Color values

HEX#AFEF5A
RGBrgb(175, 239, 90)
HSLhsl(86, 82%, 65%)
HSVhsv(86, 62%, 94%)
CMYKcmyk(26.8%, 0%, 62.3%, 6.3%)
CIE-LABlab(87.77, -42.60, 63.66)
CIE-LCHlch(87.77, 76.60, 123.79°)
OKLaboklab(88% -0.1203 0.1465)
OKLCHoklch(88% 0.19 129.4)
XYZxyz(50.3909, 71.5839, 20.8330)
Luminance0.7158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF5A #9A5AEF
analogous
#EFE55A #AFEF5A #65EF5A
triadic
#AFEF5A #5AAFEF #EF5AAF
tetradic
#AFEF5A #5AEFE5 #9A5AEF #EF5A65
square
#AFEF5A #5AEFE5 #9A5AEF #EF5A65
split-complementary
#AFEF5A #5A65EF #E55AEF
monochromatic
#73BC12 #94EA22 #AFEF5A #CAF492 #E5FACA

Accessibility & contrast

On white

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

On black

15.32
#AFEF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF5A
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF5A#FFFFFF#000000##000000
##AFEF5A1.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afef5a;
/* rgb */ color: rgb(175, 239, 90);
/* oklch */ color: oklch(88.0% 0.190 129.4);
Tailwind
colors: {
  custom: {
    50: '#cbf48f',
    500: '#afef5a',
    950: '#000000',
  },
}
SCSS
$custom: #afef5a;
$custom-light: #cbf48f;
$custom-dark: #000000;
JSON
{
  "hex": "#afef5a",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 90
  },
  "hsl": {
    "h": 85.772,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88004,
    "c": 0.18953,
    "h": 129.4
  },
  "luminance": 0.71585
}

Semantic roles & 50–950 ramp

primary
#AFEF5A
secondary
#6D32BB
accent
#07DF64
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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