#AFEF59#AFEF59

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

Color values

HEX#AFEF59
RGBrgb(175, 239, 89)
HSLhsl(86, 82%, 64%)
HSVhsv(86, 63%, 94%)
CMYKcmyk(26.8%, 0%, 62.8%, 6.3%)
CIE-LABlab(87.76, -42.68, 64.06)
CIE-LCHlch(87.76, 76.98, 123.67°)
OKLaboklab(88% -0.1206 0.1472)
OKLCHoklch(88% 0.19 129.3)
XYZxyz(50.3486, 71.5670, 20.6104)
Luminance0.7157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF59 #9959EF
analogous
#EFE459 #AFEF59 #64EF59
triadic
#AFEF59 #59AFEF #EF59AF
tetradic
#AFEF59 #59EFE4 #9959EF #EF5964
square
#AFEF59 #59EFE4 #9959EF #EF5964
split-complementary
#AFEF59 #5964EF #E459EF
monochromatic
#73BC12 #94EA21 #AFEF59 #CAF491 #E5FAC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFEF59#FFFFFF#000000##000000
##AFEF591.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)
#FADF46
Deuteranopia (green-blind)
#F1DB65
Tritanopia (blue-blind)
#B4E5D0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afef59;
/* rgb */ color: rgb(175, 239, 89);
/* oklch */ color: oklch(88.0% 0.190 129.3);
Tailwind
colors: {
  custom: {
    50: '#cbf48e',
    500: '#afef59',
    950: '#000000',
  },
}
SCSS
$custom: #afef59;
$custom-light: #cbf48e;
$custom-dark: #000000;
JSON
{
  "hex": "#afef59",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 89
  },
  "hsl": {
    "h": 85.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87995,
    "c": 0.19028,
    "h": 129.3
  },
  "luminance": 0.71568
}

Semantic roles & 50–950 ramp

primary
#AFEF59
secondary
#6C32BA
accent
#07DF63
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEF59

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

Preview Lab → · Contrast checker → · Palette generator →

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