#AFE04A#AFE04A

#AFE04A is a very light, vivid yellow-green. Relative luminance 0.629; OKLCH L 84.4% C 0.182 H 125.7°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#AFE04A
RGBrgb(175, 224, 74)
HSLhsl(80, 71%, 58%)
HSVhsv(80, 67%, 88%)
CMYKcmyk(21.9%, 0%, 67%, 12.2%)
CIE-LABlab(83.40, -37.11, 65.36)
CIE-LCHlch(83.40, 75.16, 119.59°)
OKLaboklab(84.43% -0.1065 0.148)
OKLCHoklch(84.43% 0.182 125.7)
XYZxyz(45.5711, 62.9191, 16.2210)
Luminance0.6292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE04A #7B4AE0
analogous
#E0C64A #AFE04A #64E04A
triadic
#AFE04A #4AAFE0 #E04AAF
tetradic
#AFE04A #4AE0C6 #7B4AE0 #E04A64
square
#AFE04A #4AE0C6 #7B4AE0 #E04A64
split-complementary
#AFE04A #4A64E0 #C64AE0
monochromatic
#6D961A #93CA23 #AFE04A #C6E97E #DDF2B3

Accessibility & contrast

On white

1.55
#AFE04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#AFE04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE04A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE04A#FFFFFF#000000##000000
##AFE04A1.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD234
Deuteranopia (green-blind)
#E5CF56
Tritanopia (blue-blind)
#B6D6C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe04a;
/* rgb */ color: rgb(175, 224, 74);
/* oklch */ color: oklch(84.4% 0.182 125.7);
Tailwind
colors: {
  custom: {
    50: '#caea84',
    500: '#afe04a',
    950: '#000000',
  },
}
SCSS
$custom: #afe04a;
$custom-light: #caea84;
$custom-dark: #000000;
JSON
{
  "hex": "#afe04a",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 74
  },
  "hsl": {
    "h": 79.6,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84425,
    "c": 0.18233,
    "h": 125.7
  },
  "luminance": 0.6292
}

Semantic roles & 50–950 ramp

primary
#AFE04A
secondary
#55349A
accent
#3AEE75
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE04A

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

Preview Lab → · Contrast checker → · Palette generator →

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