#AFE241#AFE241

#AFE241 is a very light, vivid yellow-green. Relative luminance 0.639; OKLCH L 84.8% C 0.191 H 125.7°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#AFE241
RGBrgb(175, 226, 65)
HSLhsl(79, 74%, 57%)
HSVhsv(79, 71%, 89%)
CMYKcmyk(22.6%, 0%, 71.2%, 11.4%)
CIE-LABlab(83.91, -38.56, 69.15)
CIE-LCHlch(83.91, 79.17, 119.14°)
OKLaboklab(84.82% -0.1112 0.1547)
OKLCHoklch(84.82% 0.191 125.7)
XYZxyz(45.8300, 63.8877, 14.9170)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE241 #7441E2
analogous
#E2C441 #AFE241 #5FE241
triadic
#AFE241 #41AFE2 #E241AF
tetradic
#AFE241 #41E2C4 #7441E2 #E2415F
square
#AFE241 #41E2C4 #7441E2 #E2415F
split-complementary
#AFE241 #415FE2 #C441E2
monochromatic
#6B9216 #92C71E #AFE241 #C5EA76 #DCF2AB

Accessibility & contrast

On white

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

On black

13.78
#AFE241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE241
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE241#FFFFFF#000000##000000
##AFE2411.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED324
Deuteranopia (green-blind)
#E7D04F
Tritanopia (blue-blind)
#B6D7C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe241;
/* rgb */ color: rgb(175, 226, 65);
/* oklch */ color: oklch(84.8% 0.191 125.7);
Tailwind
colors: {
  custom: {
    50: '#cbeb80',
    500: '#afe241',
    950: '#000000',
  },
}
SCSS
$custom: #afe241;
$custom-light: #cbeb80;
$custom-dark: #000000;
JSON
{
  "hex": "#afe241",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 65
  },
  "hsl": {
    "h": 79.006,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84817,
    "c": 0.1905,
    "h": 125.7
  },
  "luminance": 0.63888
}

Semantic roles & 50–950 ramp

primary
#AFE241
secondary
#513097
accent
#38F072
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE241

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

Preview Lab → · Contrast checker → · Palette generator →

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