#AFE04D#AFE04D

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

Color values

HEX#AFE04D
RGBrgb(175, 224, 77)
HSLhsl(80, 70%, 59%)
HSVhsv(80, 66%, 88%)
CMYKcmyk(21.9%, 0%, 65.6%, 12.2%)
CIE-LABlab(83.42, -36.91, 64.22)
CIE-LCHlch(83.42, 74.07, 119.89°)
OKLaboklab(84.45% -0.1057 0.146)
OKLCHoklch(84.45% 0.18 125.9)
XYZxyz(45.6746, 62.9605, 16.7660)
Luminance0.6296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE04D #7E4DE0
analogous
#E0C84D #AFE04D #66E04D
triadic
#AFE04D #4DAFE0 #E04DAF
tetradic
#AFE04D #4DE0C8 #7E4DE0 #E04D66
square
#AFE04D #4DE0C8 #7E4DE0 #E04D66
split-complementary
#AFE04D #4D66E0 #C84DE0
monochromatic
#6E981A #94CC24 #AFE04D #C6E981 #DEF2B5

Accessibility & contrast

On white

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

On black

13.59
#AFE04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE04D
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE04D#FFFFFF#000000##000000
##AFE04D1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe04d;
/* rgb */ color: rgb(175, 224, 77);
/* oklch */ color: oklch(84.5% 0.180 125.9);
Tailwind
colors: {
  custom: {
    50: '#caea86',
    500: '#afe04d',
    950: '#000000',
  },
}
SCSS
$custom: #afe04d;
$custom-light: #caea86;
$custom-dark: #000000;
JSON
{
  "hex": "#afe04d",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 77
  },
  "hsl": {
    "h": 80,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8445,
    "c": 0.18025,
    "h": 125.9
  },
  "luminance": 0.62961
}

Semantic roles & 50–950 ramp

primary
#AFE04D
secondary
#57359C
accent
#3BED76
background
#FEFEFC
surface
#FBFDF3
border
#D4D5CD
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE04D

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

Preview Lab → · Contrast checker → · Palette generator →

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