#AFE219#AFE219

#AFE219 is a very light, highly saturated yellow-green. Relative luminance 0.636; OKLCH L 84.6% C 0.207 H 124.7°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#AFE219
RGBrgb(175, 226, 25)
HSLhsl(75, 80%, 49%)
HSVhsv(75, 89%, 89%)
CMYKcmyk(22.6%, 0%, 88.9%, 11.4%)
CIE-LABlab(83.74, -40.09, 79.34)
CIE-LCHlch(83.74, 88.90, 116.80°)
OKLaboklab(84.63% -0.1179 0.1704)
OKLCHoklch(84.63% 0.207 124.7)
XYZxyz(45.0516, 63.5763, 10.8175)
Luminance0.6358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE219 #4C19E2
analogous
#E2B119 #AFE219 #4AE219
triadic
#AFE219 #19AFE2 #E219AF
tetradic
#AFE219 #19E2B1 #4C19E2 #E2194A
square
#AFE219 #19E2B1 #4C19E2 #E2194A
split-complementary
#AFE219 #194AE2 #B119E2
monochromatic
#5A740D #84AB13 #AFE219 #C3EB4D #D6F184

Accessibility & contrast

On white

1.53
#AFE219 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#AFE219 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE219
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE219#FFFFFF#000000##000000
##AFE2191.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD300
Deuteranopia (green-blind)
#E8D036
Tritanopia (blue-blind)
#B8D6C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe219;
/* rgb */ color: rgb(175, 226, 25);
/* oklch */ color: oklch(84.6% 0.207 124.7);
Tailwind
colors: {
  custom: {
    50: '#cceb70',
    500: '#afe219',
    950: '#000000',
  },
}
SCSS
$custom: #afe219;
$custom-light: #cceb70;
$custom-dark: #000000;
JSON
{
  "hex": "#afe219",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 25
  },
  "hsl": {
    "h": 75.224,
    "s": 80.08,
    "l": 49.216
  },
  "oklch": {
    "l": 0.84633,
    "c": 0.2072,
    "h": 124.7
  },
  "luminance": 0.63577
}

Semantic roles & 50–950 ramp

primary
#AFE219
secondary
#3A237C
accent
#31F763
background
#FEFEFB
surface
#FBFDF1
border
#D4D5CB
text
#141609
muted
#83847D

Preview Lab

Preview with #AFE219

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

Preview Lab → · Contrast checker → · Palette generator →

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