#AFE041#AFE041

#AFE041 is a very light, vivid yellow-green. Relative luminance 0.628; OKLCH L 84.4% C 0.188 H 125.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#AFE041
RGBrgb(175, 224, 65)
HSLhsl(78, 72%, 57%)
HSVhsv(78, 71%, 88%)
CMYKcmyk(21.9%, 0%, 71%, 12.2%)
CIE-LABlab(83.34, -37.66, 68.59)
CIE-LCHlch(83.34, 78.25, 118.77°)
OKLaboklab(84.36% -0.1088 0.1535)
OKLCHoklch(84.36% 0.188 125.3)
XYZxyz(45.2893, 62.8064, 14.7368)
Luminance0.6281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE041 #7241E0
analogous
#E0C241 #AFE041 #5FE041
triadic
#AFE041 #41AFE0 #E041AF
tetradic
#AFE041 #41E0C2 #7241E0 #E0415F
square
#AFE041 #41E0C2 #7241E0 #E0415F
split-complementary
#AFE041 #415FE0 #C241E0
monochromatic
#6A8F17 #91C420 #AFE041 #C5E976 #DBF1AA

Accessibility & contrast

On white

1.55
#AFE041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#AFE041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE041
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE041#FFFFFF#000000##000000
##AFE0411.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD125
Deuteranopia (green-blind)
#E5CF4F
Tritanopia (blue-blind)
#B7D5C1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe041;
/* rgb */ color: rgb(175, 224, 65);
/* oklch */ color: oklch(84.4% 0.188 125.3);
Tailwind
colors: {
  custom: {
    50: '#cbea7f',
    500: '#afe041',
    950: '#000000',
  },
}
SCSS
$custom: #afe041;
$custom-light: #cbea7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe041",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 65
  },
  "hsl": {
    "h": 78.491,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84358,
    "c": 0.18812,
    "h": 125.3
  },
  "luminance": 0.62807
}

Semantic roles & 50–950 ramp

primary
#AFE041
secondary
#503194
accent
#39EF71
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE041

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

Preview Lab → · Contrast checker → · Palette generator →

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