#AFEE52#AFEE52

#AFEE52 is a very light, vivid yellow-green. Relative luminance 0.709; OKLCH L 87.7% C 0.194 H 128.7°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#AFEE52
RGBrgb(175, 238, 82)
HSLhsl(84, 82%, 63%)
HSVhsv(84, 66%, 93%)
CMYKcmyk(26.5%, 0%, 65.5%, 6.7%)
CIE-LABlab(87.42, -42.76, 66.48)
CIE-LCHlch(87.42, 79.04, 122.75°)
OKLaboklab(87.7% -0.1214 0.1514)
OKLCHoklch(87.7% 0.194 128.7)
XYZxyz(49.7766, 70.8711, 19.0380)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEE52 #9152EE
analogous
#EEDF52 #AFEE52 #61EE52
triadic
#AFEE52 #52AFEE #EE52AF
tetradic
#AFEE52 #52EEDF #9152EE #EE5261
square
#AFEE52 #52EEDF #9152EE #EE5261
split-complementary
#AFEE52 #5261EE #DF52EE
monochromatic
#72B412 #95E91A #AFEE52 #C9F38A #E3F9C1

Accessibility & contrast

On white

1.38
#AFEE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#AFEE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEE52
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEE52#FFFFFF#000000##000000
##AFEE521.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3D
Deuteranopia (green-blind)
#F0DA5F
Tritanopia (blue-blind)
#B4E4CE
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #afee52;
/* rgb */ color: rgb(175, 238, 82);
/* oklch */ color: oklch(87.7% 0.194 128.7);
Tailwind
colors: {
  custom: {
    50: '#cbf48a',
    500: '#afee52',
    950: '#000000',
  },
}
SCSS
$custom: #afee52;
$custom-light: #cbf48a;
$custom-dark: #000000;
JSON
{
  "hex": "#afee52",
  "rgb": {
    "r": 175,
    "g": 238,
    "b": 82
  },
  "hsl": {
    "h": 84.231,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87704,
    "c": 0.19406,
    "h": 128.7
  },
  "luminance": 0.70872
}

Semantic roles & 50–950 ramp

primary
#AFEE52
secondary
#6531B4
accent
#07DE5E
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170C
muted
#83857F

Preview Lab

Preview with #AFEE52

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

Preview Lab → · Contrast checker → · Palette generator →

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