#AFE552#AFE552

#AFE552 is a very light, vivid yellow-green. Relative luminance 0.658; OKLCH L 85.6% C 0.183 H 127.2°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#AFE552
RGBrgb(175, 229, 82)
HSLhsl(82, 74%, 61%)
HSVhsv(82, 64%, 90%)
CMYKcmyk(23.6%, 0%, 64.2%, 10.2%)
CIE-LABlab(84.87, -38.80, 63.78)
CIE-LCHlch(84.87, 74.65, 121.31°)
OKLaboklab(85.64% -0.1105 0.1457)
OKLCHoklch(85.64% 0.183 127.2)
XYZxyz(47.2215, 65.7609, 18.1863)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE552 #8852E5
analogous
#E5D152 #AFE552 #65E552
triadic
#AFE552 #52AFE5 #E552AF
tetradic
#AFE552 #52E5D1 #8852E5 #E55265
square
#AFE552 #52E5D1 #8852E5 #E55265
split-complementary
#AFE552 #5265E5 #D152E5
monochromatic
#71A419 #95D921 #AFE552 #C8ED87 #E0F5BC

Accessibility & contrast

On white

1.48
#AFE552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#AFE552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE552
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE552#FFFFFF#000000##000000
##AFE5521.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#B5DBC7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe552;
/* rgb */ color: rgb(175, 229, 82);
/* oklch */ color: oklch(85.6% 0.183 127.2);
Tailwind
colors: {
  custom: {
    50: '#caed89',
    500: '#afe552',
    950: '#000000',
  },
}
SCSS
$custom: #afe552;
$custom-light: #caed89;
$custom-dark: #000000;
JSON
{
  "hex": "#afe552",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 82
  },
  "hsl": {
    "h": 82.041,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85638,
    "c": 0.18288,
    "h": 127.2
  },
  "luminance": 0.65762
}

Semantic roles & 50–950 ramp

primary
#AFE552
secondary
#5F35A6
accent
#10D658
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE552

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

Preview Lab → · Contrast checker → · Palette generator →

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