#AFE064#AFE064

#AFE064 is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 84.7% C 0.162 H 127.5°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#AFE064
RGBrgb(175, 224, 100)
HSLhsl(84, 67%, 64%)
HSVhsv(84, 55%, 88%)
CMYKcmyk(21.9%, 0%, 55.4%, 12.2%)
CIE-LABlab(83.62, -35.05, 54.72)
CIE-LCHlch(83.62, 64.98, 122.64°)
OKLaboklab(84.68% -0.0986 0.1284)
OKLCHoklch(84.68% 0.162 127.5)
XYZxyz(46.6349, 63.3446, 21.8239)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE064 #9564E0
analogous
#E0D364 #AFE064 #71E064
triadic
#AFE064 #64AFE0 #E064AF
tetradic
#AFE064 #64E0D3 #9564E0 #E06471
square
#AFE064 #64E0D3 #9564E0 #E06471
split-complementary
#AFE064 #6471E0 #D364E0
monochromatic
#73A822 #95D631 #AFE064 #C9EA97 #E4F4CA

Accessibility & contrast

On white

1.54
#AFE064 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#AFE064 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE064
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE064#FFFFFF#000000##000000
##AFE0641.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD258
Deuteranopia (green-blind)
#E3D06C
Tritanopia (blue-blind)
#B4D7C5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe064;
/* rgb */ color: rgb(175, 224, 100);
/* oklch */ color: oklch(84.7% 0.162 127.5);
Tailwind
colors: {
  custom: {
    50: '#c9ea94',
    500: '#afe064',
    950: '#000000',
  },
}
SCSS
$custom: #afe064;
$custom-light: #c9ea94;
$custom-dark: #000000;
JSON
{
  "hex": "#afe064",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 100
  },
  "hsl": {
    "h": 83.71,
    "s": 66.667,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84678,
    "c": 0.16191,
    "h": 127.5
  },
  "luminance": 0.63345
}

Semantic roles & 50–950 ramp

primary
#AFE064
secondary
#693EAA
accent
#17CF60
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE064

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

Preview Lab → · Contrast checker → · Palette generator →

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