#AFDE4F#AFDE4F

#AFDE4F is a very light, vivid yellow-green. Relative luminance 0.619; OKLCH L 84.0% C 0.176 H 125.6°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#AFDE4F
RGBrgb(175, 222, 79)
HSLhsl(80, 68%, 59%)
HSVhsv(80, 64%, 87%)
CMYKcmyk(21.2%, 0%, 64.4%, 12.9%)
CIE-LABlab(82.87, -35.86, 62.85)
CIE-LCHlch(82.87, 72.36, 119.71°)
OKLaboklab(84.01% -0.1026 0.1434)
OKLCHoklch(84.01% 0.176 125.6)
XYZxyz(45.2119, 61.9205, 16.9655)
Luminance0.6192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDE4F #7E4FDE
analogous
#DEC54F #AFDE4F #68DE4F
triadic
#AFDE4F #4FAFDE #DE4FAF
tetradic
#AFDE4F #4FDEC5 #7E4FDE #DE4F68
square
#AFDE4F #4FDEC5 #7E4FDE #DE4F68
split-complementary
#AFDE4F #4F68DE #C54FDE
monochromatic
#6E961C #94CA26 #AFDE4F #C6E883 #DEF1B6

Accessibility & contrast

On white

1.57
#AFDE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#AFDE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDE4F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDE4F#FFFFFF#000000##000000
##AFDE4F1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03C
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#B6D4C1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afde4f;
/* rgb */ color: rgb(175, 222, 79);
/* oklch */ color: oklch(84.0% 0.176 125.6);
Tailwind
colors: {
  custom: {
    50: '#cae887',
    500: '#afde4f',
    950: '#000000',
  },
}
SCSS
$custom: #afde4f;
$custom-light: #cae887;
$custom-dark: #000000;
JSON
{
  "hex": "#afde4f",
  "rgb": {
    "r": 175,
    "g": 222,
    "b": 79
  },
  "hsl": {
    "h": 79.72,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84009,
    "c": 0.17634,
    "h": 125.6
  },
  "luminance": 0.61921
}

Semantic roles & 50–950 ramp

primary
#AFDE4F
secondary
#57379B
accent
#3DEB76
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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