#AFE24B#AFE24B

#AFE24B is a very light, vivid yellow-green. Relative luminance 0.640; OKLCH L 84.9% C 0.184 H 126.2°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#AFE24B
RGBrgb(175, 226, 75)
HSLhsl(80, 72%, 59%)
HSVhsv(80, 67%, 89%)
CMYKcmyk(22.6%, 0%, 66.8%, 11.4%)
CIE-LABlab(83.97, -37.94, 65.57)
CIE-LCHlch(83.97, 75.75, 120.06°)
OKLaboklab(84.89% -0.1087 0.1486)
OKLCHoklch(84.89% 0.184 126.2)
XYZxyz(46.1457, 64.0140, 16.5800)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE24B #7E4BE2
analogous
#E2CA4B #AFE24B #64E24B
triadic
#AFE24B #4BAFE2 #E24BAF
tetradic
#AFE24B #4BE2CA #7E4BE2 #E24B64
square
#AFE24B #4BE2CA #7E4BE2 #E24B64
split-complementary
#AFE24B #4B64E2 #CA4BE2
monochromatic
#6E9A19 #94CF21 #AFE24B #C6EA80 #DEF3B4

Accessibility & contrast

On white

1.52
#AFE24B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#AFE24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE24B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE24B#FFFFFF#000000##000000
##AFE24B1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED335
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#B6D8C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe24b;
/* rgb */ color: rgb(175, 226, 75);
/* oklch */ color: oklch(84.9% 0.184 126.2);
Tailwind
colors: {
  custom: {
    50: '#caeb85',
    500: '#afe24b',
    950: '#000000',
  },
}
SCSS
$custom: #afe24b;
$custom-light: #caeb85;
$custom-dark: #000000;
JSON
{
  "hex": "#afe24b",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 75
  },
  "hsl": {
    "h": 80.265,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84891,
    "c": 0.18411,
    "h": 126.2
  },
  "luminance": 0.64015
}

Semantic roles & 50–950 ramp

primary
#AFE24B
secondary
#57349E
accent
#39EF76
background
#FEFEFC
surface
#FBFDF3
border
#D4D5CD
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE24B

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

Preview Lab → · Contrast checker → · Palette generator →

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