#AFD24B#AFD24B

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

Color values

HEX#AFD24B
RGBrgb(175, 210, 75)
HSLhsl(76, 60%, 56%)
HSVhsv(76, 64%, 82%)
CMYKcmyk(16.7%, 0%, 64.3%, 17.6%)
CIE-LABlab(79.45, -30.60, 60.83)
CIE-LCHlch(79.45, 68.09, 116.71°)
OKLaboklab(81.24% -0.0885 0.1386)
OKLCHoklch(81.24% 0.164 122.5)
XYZxyz(41.9962, 55.7150, 15.1969)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD24B #6E4BD2
analogous
#D2B24B #AFD24B #6BD24B
triadic
#AFD24B #4BAFD2 #D24BAF
tetradic
#AFD24B #4BD2B2 #6E4BD2 #D24B6B
square
#AFD24B #4BD2B2 #6E4BD2 #D24B6B
split-complementary
#AFD24B #4B6BD2 #B24BD2
monochromatic
#698221 #90B32D #AFD24B #C5DE7C #DBEAAD

Accessibility & contrast

On white

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

On black

12.14
#AFD24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD24B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD24B#FFFFFF#000000##000000
##AFD24B1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC639
Deuteranopia (green-blind)
#D9C555
Tritanopia (blue-blind)
#B7C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd24b;
/* rgb */ color: rgb(175, 210, 75);
/* oklch */ color: oklch(81.2% 0.164 122.5);
Tailwind
colors: {
  custom: {
    50: '#cadf84',
    500: '#afd24b',
    950: '#000000',
  },
}
SCSS
$custom: #afd24b;
$custom-light: #cadf84;
$custom-dark: #000000;
JSON
{
  "hex": "#afd24b",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 75
  },
  "hsl": {
    "h": 75.556,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81237,
    "c": 0.16442,
    "h": 122.5
  },
  "luminance": 0.55715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD24B

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

Preview Lab → · Contrast checker → · Palette generator →

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