#AFE22D#AFE22D

#AFE22D is a very light, highly saturated yellow-green. Relative luminance 0.637; OKLCH L 84.7% C 0.201 H 125.1°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#AFE22D
RGBrgb(175, 226, 45)
HSLhsl(77, 76%, 53%)
HSVhsv(77, 80%, 89%)
CMYKcmyk(22.6%, 0%, 80.1%, 11.4%)
CIE-LABlab(83.81, -39.50, 75.17)
CIE-LCHlch(83.81, 84.92, 117.72°)
OKLaboklab(84.7% -0.1152 0.1642)
OKLCHoklch(84.7% 0.201 125.1)
XYZxyz(45.3496, 63.6956, 12.3874)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE22D #602DE2
analogous
#E2BA2D #AFE22D #54E22D
triadic
#AFE22D #2DAFE2 #E22DAF
tetradic
#AFE22D #2DE2BA #602DE2 #E22D54
square
#AFE22D #2DE2BA #602DE2 #E22D54
split-complementary
#AFE22D #2D54E2 #BA2DE2
monochromatic
#638312 #8CB819 #AFE22D #C3E963 #D8F199

Accessibility & contrast

On white

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

On black

13.74
#AFE22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE22D
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE22D#FFFFFF#000000##000000
##AFE22D1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe22d;
/* rgb */ color: rgb(175, 226, 45);
/* oklch */ color: oklch(84.7% 0.201 125.1);
Tailwind
colors: {
  custom: {
    50: '#cceb77',
    500: '#afe22d',
    950: '#000000',
  },
}
SCSS
$custom: #afe22d;
$custom-light: #cceb77;
$custom-dark: #000000;
JSON
{
  "hex": "#afe22d",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 45
  },
  "hsl": {
    "h": 76.906,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.84704,
    "c": 0.20064,
    "h": 125.1
  },
  "luminance": 0.63696
}

Semantic roles & 50–950 ramp

primary
#AFE22D
secondary
#452A89
accent
#35F26B
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160A
muted
#83847D

Preview Lab

Preview with #AFE22D

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

Preview Lab → · Contrast checker → · Palette generator →

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