#AFE652#AFE652

#AFE652 is a very light, vivid yellow-green. Relative luminance 0.663; OKLCH L 85.9% C 0.184 H 127.4°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#AFE652
RGBrgb(175, 230, 82)
HSLhsl(82, 75%, 61%)
HSVhsv(82, 64%, 90%)
CMYKcmyk(23.9%, 0%, 64.3%, 9.8%)
CIE-LABlab(85.16, -39.24, 64.08)
CIE-LCHlch(85.16, 75.14, 121.48°)
OKLaboklab(85.87% -0.1117 0.1464)
OKLCHoklch(85.87% 0.184 127.4)
XYZxyz(47.4990, 66.3159, 18.2788)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE652 #8952E6
analogous
#E6D352 #AFE652 #65E652
triadic
#AFE652 #52AFE6 #E652AF
tetradic
#AFE652 #52E6D3 #8952E6 #E65265
square
#AFE652 #52E6D3 #8952E6 #E65265
split-complementary
#AFE652 #5265E6 #D352E6
monochromatic
#71A618 #95DB20 #AFE652 #C8EE87 #E0F5BD

Accessibility & contrast

On white

1.47
#AFE652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#AFE652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE652
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE652#FFFFFF#000000##000000
##AFE6521.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#EAD45D
Tritanopia (blue-blind)
#B5DCC8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe652;
/* rgb */ color: rgb(175, 230, 82);
/* oklch */ color: oklch(85.9% 0.184 127.4);
Tailwind
colors: {
  custom: {
    50: '#caee89',
    500: '#afe652',
    950: '#000000',
  },
}
SCSS
$custom: #afe652;
$custom-light: #caee89;
$custom-dark: #000000;
JSON
{
  "hex": "#afe652",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 82
  },
  "hsl": {
    "h": 82.297,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85867,
    "c": 0.18412,
    "h": 127.4
  },
  "luminance": 0.66317
}

Semantic roles & 50–950 ramp

primary
#AFE652
secondary
#5F34A8
accent
#0FD759
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE652

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

Preview Lab → · Contrast checker → · Palette generator →

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