#AFEA52#AFEA52

#AFEA52 is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 86.8% C 0.189 H 128.1°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#AFEA52
RGBrgb(175, 234, 82)
HSLhsl(83, 78%, 62%)
HSVhsv(83, 65%, 92%)
CMYKcmyk(25.2%, 0%, 65%, 8.2%)
CIE-LABlab(86.29, -41.01, 65.28)
CIE-LCHlch(86.29, 77.09, 122.14°)
OKLaboklab(86.79% -0.1166 0.1489)
OKLCHoklch(86.79% 0.189 128.1)
XYZxyz(48.6249, 68.5678, 18.6541)
Luminance0.6857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA52 #8D52EA
analogous
#EAD952 #AFEA52 #63EA52
triadic
#AFEA52 #52AFEA #EA52AF
tetradic
#AFEA52 #52EAD9 #8D52EA #EA5263
square
#AFEA52 #52EAD9 #8D52EA #EA5263
split-complementary
#AFEA52 #5263EA #D952EA
monochromatic
#72AD15 #96E31C #AFEA52 #C8F189 #E1F7BF

Accessibility & contrast

On white

1.43
#AFEA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#AFEA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA52
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA52#FFFFFF#000000##000000
##AFEA521.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3E
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#B5E0CB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afea52;
/* rgb */ color: rgb(175, 234, 82);
/* oklch */ color: oklch(86.8% 0.189 128.1);
Tailwind
colors: {
  custom: {
    50: '#cbf18a',
    500: '#afea52',
    950: '#000000',
  },
}
SCSS
$custom: #afea52;
$custom-light: #cbf18a;
$custom-dark: #000000;
JSON
{
  "hex": "#afea52",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 82
  },
  "hsl": {
    "h": 83.289,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86785,
    "c": 0.18911,
    "h": 128.1
  },
  "luminance": 0.68569
}

Semantic roles & 50–950 ramp

primary
#AFEA52
secondary
#6233AE
accent
#0BDB5C
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFEA52

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

Preview Lab → · Contrast checker → · Palette generator →

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