#AFD24C#AFD24C

#AFD24C is a light, vivid yellow-green. Relative luminance 0.557; OKLCH L 81.2% C 0.164 H 122.6°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#AFD24C
RGBrgb(175, 210, 76)
HSLhsl(76, 60%, 56%)
HSVhsv(76, 64%, 82%)
CMYKcmyk(16.7%, 0%, 63.8%, 17.6%)
CIE-LABlab(79.46, -30.53, 60.43)
CIE-LCHlch(79.46, 67.70, 116.80°)
OKLaboklab(81.25% -0.0882 0.1379)
OKLCHoklch(81.25% 0.164 122.6)
XYZxyz(42.0307, 55.7288, 15.3785)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD24C #6F4CD2
analogous
#D2B24C #AFD24C #6CD24C
triadic
#AFD24C #4CAFD2 #D24CAF
tetradic
#AFD24C #4CD2B2 #6F4CD2 #D24C6C
square
#AFD24C #4CD2B2 #6F4CD2 #D24C6C
split-complementary
#AFD24C #4C6CD2 #B24CD2
monochromatic
#698321 #91B42D #AFD24C #C5DE7D #DBEBAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD24C#FFFFFF#000000##000000
##AFD24C1.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)
#DEC63B
Deuteranopia (green-blind)
#D9C556
Tritanopia (blue-blind)
#B7C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd24c;
/* rgb */ color: rgb(175, 210, 76);
/* oklch */ color: oklch(81.2% 0.164 122.6);
Tailwind
colors: {
  custom: {
    50: '#cadf84',
    500: '#afd24c',
    950: '#000000',
  },
}
SCSS
$custom: #afd24c;
$custom-light: #cadf84;
$custom-dark: #000000;
JSON
{
  "hex": "#afd24c",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 76
  },
  "hsl": {
    "h": 75.672,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81246,
    "c": 0.16367,
    "h": 122.6
  },
  "luminance": 0.55729
}

Semantic roles & 50–950 ramp

primary
#AFD24C
secondary
#4E388A
accent
#45E36E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD24C

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

Preview Lab → · Contrast checker → · Palette generator →

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