#AFD24E#AFD24E

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

Color values

HEX#AFD24E
RGBrgb(175, 210, 78)
HSLhsl(76, 59%, 56%)
HSVhsv(76, 63%, 82%)
CMYKcmyk(16.7%, 0%, 62.9%, 17.6%)
CIE-LABlab(79.48, -30.39, 59.62)
CIE-LCHlch(79.48, 66.92, 117.01°)
OKLaboklab(81.26% -0.0876 0.1364)
OKLCHoklch(81.26% 0.162 122.7)
XYZxyz(42.1013, 55.7571, 15.7504)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD24E #714ED2
analogous
#D2B34E #AFD24E #6DD24E
triadic
#AFD24E #4EAFD2 #D24EAF
tetradic
#AFD24E #4ED2B3 #714ED2 #D24E6D
square
#AFD24E #4ED2B3 #714ED2 #D24E6D
split-complementary
#AFD24E #4E6DD2 #B34ED2
monochromatic
#6A8422 #91B52E #AFD24E #C5DE7F #DBEBB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD24E#FFFFFF#000000##000000
##AFD24E1.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)
#DEC63E
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#B7C8B7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd24e;
/* rgb */ color: rgb(175, 210, 78);
/* oklch */ color: oklch(81.3% 0.162 122.7);
Tailwind
colors: {
  custom: {
    50: '#cadf85',
    500: '#afd24e',
    950: '#000000',
  },
}
SCSS
$custom: #afd24e;
$custom-light: #cadf85;
$custom-dark: #000000;
JSON
{
  "hex": "#afd24e",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 78
  },
  "hsl": {
    "h": 75.909,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81264,
    "c": 0.16214,
    "h": 122.7
  },
  "luminance": 0.55757
}

Semantic roles & 50–950 ramp

primary
#AFD24E
secondary
#4F398B
accent
#45E36F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD24E

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

Preview Lab → · Contrast checker → · Palette generator →

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