#AFE04F#AFE04F

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

Color values

HEX#AFE04F
RGBrgb(175, 224, 79)
HSLhsl(80, 70%, 59%)
HSVhsv(80, 65%, 88%)
CMYKcmyk(21.9%, 0%, 64.7%, 12.2%)
CIE-LABlab(83.44, -36.77, 63.45)
CIE-LCHlch(83.44, 73.33, 120.09°)
OKLaboklab(84.47% -0.1051 0.1446)
OKLCHoklch(84.47% 0.179 126)
XYZxyz(45.7463, 62.9891, 17.1436)
Luminance0.6299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE04F #804FE0
analogous
#E0C94F #AFE04F #67E04F
triadic
#AFE04F #4FAFE0 #E04FAF
tetradic
#AFE04F #4FE0C9 #804FE0 #E04F67
square
#AFE04F #4FE0C9 #804FE0 #E04F67
split-complementary
#AFE04F #4F67E0 #C94FE0
monochromatic
#6F9A1B #94CE24 #AFE04F #C7E983 #DEF2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE04F#FFFFFF#000000##000000
##AFE04F1.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)
#EBD23C
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#B6D6C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe04f;
/* rgb */ color: rgb(175, 224, 79);
/* oklch */ color: oklch(84.5% 0.179 126.0);
Tailwind
colors: {
  custom: {
    50: '#caea87',
    500: '#afe04f',
    950: '#000000',
  },
}
SCSS
$custom: #afe04f;
$custom-light: #caea87;
$custom-dark: #000000;
JSON
{
  "hex": "#afe04f",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 80.276,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84467,
    "c": 0.17882,
    "h": 126
  },
  "luminance": 0.6299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFE04F

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

Preview Lab → · Contrast checker → · Palette generator →

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