#AFE64E#AFE64E

#AFE64E is a very light, vivid yellow-green. Relative luminance 0.663; OKLCH L 85.8% C 0.187 H 127.1°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#AFE64E
RGBrgb(175, 230, 78)
HSLhsl(82, 75%, 60%)
HSVhsv(82, 66%, 90%)
CMYKcmyk(23.9%, 0%, 66.1%, 9.8%)
CIE-LABlab(85.13, -39.52, 65.62)
CIE-LCHlch(85.13, 76.60, 121.06°)
OKLaboklab(85.83% -0.1128 0.1491)
OKLCHoklch(85.83% 0.187 127.1)
XYZxyz(47.3512, 66.2568, 17.5004)
Luminance0.6626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE64E #854EE6
analogous
#E6D14E #AFE64E #63E64E
triadic
#AFE64E #4EAFE6 #E64EAF
tetradic
#AFE64E #4EE6D1 #854EE6 #E64E63
square
#AFE64E #4EE6D1 #854EE6 #E64E63
split-complementary
#AFE64E #4E63E6 #D14EE6
monochromatic
#70A317 #95D81F #AFE64E #C7EE84 #DFF5B9

Accessibility & contrast

On white

1.47
#AFE64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#AFE64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE64E
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE64E#FFFFFF#000000##000000
##AFE64E1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D739
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#B5DCC7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe64e;
/* rgb */ color: rgb(175, 230, 78);
/* oklch */ color: oklch(85.8% 0.187 127.1);
Tailwind
colors: {
  custom: {
    50: '#cbee87',
    500: '#afe64e',
    950: '#000000',
  },
}
SCSS
$custom: #afe64e;
$custom-light: #cbee87;
$custom-dark: #000000;
JSON
{
  "hex": "#afe64e",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 78
  },
  "hsl": {
    "h": 81.711,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85833,
    "c": 0.18696,
    "h": 127.1
  },
  "luminance": 0.66258
}

Semantic roles & 50–950 ramp

primary
#AFE64E
secondary
#5C33A5
accent
#0ED757
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE64E

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

Preview Lab → · Contrast checker → · Palette generator →

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