#AFD24F#AFD24F

#AFD24F is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 81.3% C 0.161 H 122.8°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#AFD24F
RGBrgb(175, 210, 79)
HSLhsl(76, 59%, 57%)
HSVhsv(76, 62%, 82%)
CMYKcmyk(16.7%, 0%, 62.4%, 17.6%)
CIE-LABlab(79.48, -30.31, 59.22)
CIE-LCHlch(79.48, 66.53, 117.11°)
OKLaboklab(81.27% -0.0873 0.1357)
OKLCHoklch(81.27% 0.161 122.8)
XYZxyz(42.1375, 55.7715, 15.9407)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD24F #724FD2
analogous
#D2B44F #AFD24F #6ED24F
triadic
#AFD24F #4FAFD2 #D24FAF
tetradic
#AFD24F #4FD2B4 #724FD2 #D24F6E
square
#AFD24F #4FD2B4 #724FD2 #D24F6E
split-complementary
#AFD24F #4F6ED2 #B44FD2
monochromatic
#6A8522 #91B52E #AFD24F #C5DE80 #DBEBB0

Accessibility & contrast

On white

1.73
#AFD24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#AFD24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD24F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD24F#FFFFFF#000000##000000
##AFD24F1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63F
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#B7C8B7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd24f;
/* rgb */ color: rgb(175, 210, 79);
/* oklch */ color: oklch(81.3% 0.161 122.8);
Tailwind
colors: {
  custom: {
    50: '#cadf86',
    500: '#afd24f',
    950: '#000000',
  },
}
SCSS
$custom: #afd24f;
$custom-light: #cadf86;
$custom-dark: #000000;
JSON
{
  "hex": "#afd24f",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 76.031,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81274,
    "c": 0.16137,
    "h": 122.8
  },
  "luminance": 0.55772
}

Semantic roles & 50–950 ramp

primary
#AFD24F
secondary
#503A8C
accent
#45E26F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD24F

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

Preview Lab → · Contrast checker → · Palette generator →

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