#AFEC59#AFEC59

#AFEC59 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.3% C 0.186 H 128.8°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#AFEC59
RGBrgb(175, 236, 89)
HSLhsl(85, 79%, 64%)
HSVhsv(85, 62%, 93%)
CMYKcmyk(25.8%, 0%, 62.3%, 7.5%)
CIE-LABlab(86.91, -41.37, 63.14)
CIE-LCHlch(86.91, 75.48, 123.23°)
OKLaboklab(87.31% -0.117 0.1452)
OKLCHoklch(87.31% 0.186 128.8)
XYZxyz(49.4776, 69.8250, 20.3201)
Luminance0.6983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC59 #9659EC
analogous
#ECDF59 #AFEC59 #65EC59
triadic
#AFEC59 #59AFEC #EC59AF
tetradic
#AFEC59 #59ECDF #9659EC #EC5965
square
#AFEC59 #59ECDF #9659EC #EC5965
split-complementary
#AFEC59 #5965EC #DF59EC
monochromatic
#73B615 #95E622 #AFEC59 #C9F290 #E4F9C7

Accessibility & contrast

On white

1.40
#AFEC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#AFEC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC59
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC59#FFFFFF#000000##000000
##AFEC591.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC47
Deuteranopia (green-blind)
#EED864
Tritanopia (blue-blind)
#B4E2CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec59;
/* rgb */ color: rgb(175, 236, 89);
/* oklch */ color: oklch(87.3% 0.186 128.8);
Tailwind
colors: {
  custom: {
    50: '#caf28e',
    500: '#afec59',
    950: '#000000',
  },
}
SCSS
$custom: #afec59;
$custom-light: #caf28e;
$custom-dark: #000000;
JSON
{
  "hex": "#afec59",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 89
  },
  "hsl": {
    "h": 84.898,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87306,
    "c": 0.18648,
    "h": 128.8
  },
  "luminance": 0.69826
}

Semantic roles & 50–950 ramp

primary
#AFEC59
secondary
#6A34B5
accent
#0ADC61
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEC59

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

Preview Lab → · Contrast checker → · Palette generator →

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