#AFFF52#AFFF52

#AFFF52 is a very light, highly saturated yellow-green. Relative luminance 0.812; OKLCH L 91.6% C 0.215 H 131.1°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#AFFF52
RGBrgb(175, 255, 82)
HSLhsl(88, 100%, 66%)
HSVhsv(88, 68%, 100%)
CMYKcmyk(31.4%, 0%, 67.8%, 0%)
CIE-LABlab(92.24, -49.99, 71.50)
CIE-LCHlch(92.24, 87.24, 124.96°)
OKLaboklab(91.62% -0.1412 0.162)
OKLCHoklch(91.62% 0.215 131.1)
XYZxyz(54.9617, 81.2413, 20.7663)
Luminance0.8124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF52 #A252FF
analogous
#FFF952 #AFFF52 #58FF52
triadic
#AFFF52 #52AFFF #FF52AF
tetradic
#AFFF52 #52FFF9 #A252FF #FF5258
square
#AFFF52 #52FFF9 #A252FF #FF5258
split-complementary
#AFFF52 #5258FF #F952FF
monochromatic
#73D700 #93FF15 #AFFF52 #CBFF8F #E8FFCC

Accessibility & contrast

On white

1.22
#AFFF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#AFFF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF52
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF52#FFFFFF#000000##000000
##AFFF521.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED38
Deuteranopia (green-blind)
#FFE761
Tritanopia (blue-blind)
#B2F5DC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff52;
/* rgb */ color: rgb(175, 255, 82);
/* oklch */ color: oklch(91.6% 0.215 131.1);
Tailwind
colors: {
  custom: {
    50: '#ccff8b',
    500: '#afff52',
    950: '#000000',
  },
}
SCSS
$custom: #afff52;
$custom-light: #ccff8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afff52",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 87.746,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91619,
    "c": 0.21483,
    "h": 131.1
  },
  "luminance": 0.81243
}

Semantic roles & 50–950 ramp

primary
#AFFF52
secondary
#7425D0
accent
#00E66A
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14180D
muted
#83867F

Preview Lab

Preview with #AFFF52

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

Preview Lab → · Contrast checker → · Palette generator →

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