#AFE052#AFE052

#AFE052 is a very light, vivid yellow-green. Relative luminance 0.630; OKLCH L 84.5% C 0.177 H 126.2°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#AFE052
RGBrgb(175, 224, 82)
HSLhsl(81, 70%, 60%)
HSVhsv(81, 63%, 88%)
CMYKcmyk(21.9%, 0%, 63.4%, 12.2%)
CIE-LABlab(83.46, -36.55, 62.27)
CIE-LCHlch(83.46, 72.20, 120.41°)
OKLaboklab(84.49% -0.1043 0.1425)
OKLCHoklch(84.49% 0.177 126.2)
XYZxyz(45.8580, 63.0338, 17.7318)
Luminance0.6303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE052 #8352E0
analogous
#E0CA52 #AFE052 #68E052
triadic
#AFE052 #52AFE0 #E052AF
tetradic
#AFE052 #52E0CA #8352E0 #E05268
square
#AFE052 #52E0CA #8352E0 #E05268
split-complementary
#AFE052 #5268E0 #CA52E0
monochromatic
#709C1C #95D025 #AFE052 #C7E986 #DFF3BA

Accessibility & contrast

On white

1.54
#AFE052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#AFE052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE052
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE052#FFFFFF#000000##000000
##AFE0521.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD240
Deuteranopia (green-blind)
#E5CF5D
Tritanopia (blue-blind)
#B6D6C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe052;
/* rgb */ color: rgb(175, 224, 82);
/* oklch */ color: oklch(84.5% 0.177 126.2);
Tailwind
colors: {
  custom: {
    50: '#caea89',
    500: '#afe052',
    950: '#000000',
  },
}
SCSS
$custom: #afe052;
$custom-light: #caea89;
$custom-dark: #000000;
JSON
{
  "hex": "#afe052",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 80.704,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.84493,
    "c": 0.17662,
    "h": 126.2
  },
  "luminance": 0.63034
}

Semantic roles & 50–950 ramp

primary
#AFE052
secondary
#5B379F
accent
#3BEC78
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE052

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

Preview Lab → · Contrast checker → · Palette generator →

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