#AFE752#AFE752

#AFE752 is a very light, vivid yellow-green. Relative luminance 0.669; OKLCH L 86.1% C 0.185 H 127.5°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#AFE752
RGBrgb(175, 231, 82)
HSLhsl(83, 76%, 61%)
HSVhsv(83, 65%, 91%)
CMYKcmyk(24.2%, 0%, 64.5%, 9.4%)
CIE-LABlab(85.44, -39.69, 64.38)
CIE-LCHlch(85.44, 75.63, 121.65°)
OKLaboklab(86.1% -0.1129 0.147)
OKLCHoklch(86.1% 0.185 127.5)
XYZxyz(47.7781, 66.8741, 18.3718)
Luminance0.6687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE752 #8A52E7
analogous
#E7D552 #AFE752 #65E752
triadic
#AFE752 #52AFE7 #E752AF
tetradic
#AFE752 #52E7D5 #8A52E7 #E75265
square
#AFE752 #52E7D5 #8A52E7 #E75265
split-complementary
#AFE752 #5265E7 #D552E7
monochromatic
#71A717 #96DD1F #AFE752 #C8EE88 #E1F6BD

Accessibility & contrast

On white

1.46
#AFE752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#AFE752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE752
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE752#FFFFFF#000000##000000
##AFE7521.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83E
Deuteranopia (green-blind)
#EAD45E
Tritanopia (blue-blind)
#B5DDC8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe752;
/* rgb */ color: rgb(175, 231, 82);
/* oklch */ color: oklch(86.1% 0.185 127.5);
Tailwind
colors: {
  custom: {
    50: '#caef89',
    500: '#afe752',
    950: '#000000',
  },
}
SCSS
$custom: #afe752;
$custom-light: #caef89;
$custom-dark: #000000;
JSON
{
  "hex": "#afe752",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 82.55,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86096,
    "c": 0.18538,
    "h": 127.5
  },
  "luminance": 0.66875
}

Semantic roles & 50–950 ramp

primary
#AFE752
secondary
#6034A9
accent
#0ED85A
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE752

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

Preview Lab → · Contrast checker → · Palette generator →

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