#AFE32E#AFE32E

#AFE32E is a very light, highly saturated yellow-green. Relative luminance 0.642; OKLCH L 84.9% C 0.201 H 125.3°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#AFE32E
RGBrgb(175, 227, 46)
HSLhsl(77, 76%, 54%)
HSVhsv(77, 80%, 89%)
CMYKcmyk(22.9%, 0%, 79.7%, 11%)
CIE-LABlab(84.10, -39.90, 75.17)
CIE-LCHlch(84.10, 85.10, 117.96°)
OKLaboklab(84.94% -0.1163 0.1644)
OKLCHoklch(84.94% 0.201 125.3)
XYZxyz(45.6418, 64.2488, 12.5809)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE32E #622EE3
analogous
#E3BD2E #AFE32E #54E32E
triadic
#AFE32E #2EAFE3 #E32EAF
tetradic
#AFE32E #2EE3BD #622EE3 #E32E54
square
#AFE32E #2EE3BD #622EE3 #E32E54
split-complementary
#AFE32E #2E54E3 #BD2EE3
monochromatic
#648512 #8CBB19 #AFE32E #C4EA64 #D8F19A

Accessibility & contrast

On white

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

On black

13.85
#AFE32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE32E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE32E#FFFFFF#000000##000000
##AFE32E1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D400
Deuteranopia (green-blind)
#E9D142
Tritanopia (blue-blind)
#B7D8C2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe32e;
/* rgb */ color: rgb(175, 227, 46);
/* oklch */ color: oklch(84.9% 0.201 125.3);
Tailwind
colors: {
  custom: {
    50: '#ccec77',
    500: '#afe32e',
    950: '#000000',
  },
}
SCSS
$custom: #afe32e;
$custom-light: #ccec77;
$custom-dark: #000000;
JSON
{
  "hex": "#afe32e",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 46
  },
  "hsl": {
    "h": 77.238,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.84939,
    "c": 0.20136,
    "h": 125.3
  },
  "luminance": 0.64249
}

Semantic roles & 50–950 ramp

primary
#AFE32E
secondary
#462A8B
accent
#35F36B
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160A
muted
#83847D

Preview Lab

Preview with #AFE32E

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

Preview Lab → · Contrast checker → · Palette generator →

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