#AFE04E#AFE04E

#AFE04E is a very light, vivid yellow-green. Relative luminance 0.630; OKLCH L 84.5% C 0.180 H 126.0°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#AFE04E
RGBrgb(175, 224, 78)
HSLhsl(80, 70%, 59%)
HSVhsv(80, 65%, 88%)
CMYKcmyk(21.9%, 0%, 65.2%, 12.2%)
CIE-LABlab(83.43, -36.84, 63.83)
CIE-LCHlch(83.43, 73.70, 119.99°)
OKLaboklab(84.46% -0.1054 0.1453)
OKLCHoklch(84.46% 0.18 126)
XYZxyz(45.7102, 62.9747, 16.9534)
Luminance0.6298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE04E #7F4EE0
analogous
#E0C84E #AFE04E #66E04E
triadic
#AFE04E #4EAFE0 #E04EAF
tetradic
#AFE04E #4EE0C8 #7F4EE0 #E04E66
square
#AFE04E #4EE0C8 #7F4EE0 #E04E66
split-complementary
#AFE04E #4E66E0 #C84EE0
monochromatic
#6F991B #94CD24 #AFE04E #C7E982 #DEF2B6

Accessibility & contrast

On white

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

On black

13.60
#AFE04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE04E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE04E#FFFFFF#000000##000000
##AFE04E1.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe04e;
/* rgb */ color: rgb(175, 224, 78);
/* oklch */ color: oklch(84.5% 0.180 126.0);
Tailwind
colors: {
  custom: {
    50: '#caea86',
    500: '#afe04e',
    950: '#000000',
  },
}
SCSS
$custom: #afe04e;
$custom-light: #caea86;
$custom-dark: #000000;
JSON
{
  "hex": "#afe04e",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 78
  },
  "hsl": {
    "h": 80.137,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84458,
    "c": 0.17954,
    "h": 126
  },
  "luminance": 0.62975
}

Semantic roles & 50–950 ramp

primary
#AFE04E
secondary
#58359D
accent
#3BED77
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE04E

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

Preview Lab → · Contrast checker → · Palette generator →

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