#AFE64F#AFE64F

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

Color values

HEX#AFE64F
RGBrgb(175, 230, 79)
HSLhsl(82, 75%, 61%)
HSVhsv(82, 66%, 90%)
CMYKcmyk(23.9%, 0%, 65.7%, 9.8%)
CIE-LABlab(85.13, -39.45, 65.24)
CIE-LCHlch(85.13, 76.24, 121.16°)
OKLaboklab(85.84% -0.1125 0.1484)
OKLCHoklch(85.84% 0.186 127.2)
XYZxyz(47.3873, 66.2712, 17.6906)
Luminance0.6627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE64F #864FE6
analogous
#E6D14F #AFE64F #64E64F
triadic
#AFE64F #4FAFE6 #E64FAF
tetradic
#AFE64F #4FE6D1 #864FE6 #E64F64
square
#AFE64F #4FE6D1 #864FE6 #E64F64
split-complementary
#AFE64F #4F64E6 #D14FE6
monochromatic
#70A317 #95D91F #AFE64F #C7EE85 #E0F5BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE64F#FFFFFF#000000##000000
##AFE64F1.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)
#F1D73A
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#B5DCC7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe64f;
/* rgb */ color: rgb(175, 230, 79);
/* oklch */ color: oklch(85.8% 0.186 127.2);
Tailwind
colors: {
  custom: {
    50: '#caee88',
    500: '#afe64f',
    950: '#000000',
  },
}
SCSS
$custom: #afe64f;
$custom-light: #caee88;
$custom-dark: #000000;
JSON
{
  "hex": "#afe64f",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 79
  },
  "hsl": {
    "h": 81.854,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85841,
    "c": 0.18626,
    "h": 127.2
  },
  "luminance": 0.66272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFE64F

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

Preview Lab → · Contrast checker → · Palette generator →

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