#AFE562#AFE562

#AFE562 is a very light, vivid yellow-green. Relative luminance 0.660; OKLCH L 85.8% C 0.170 H 128.3°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#AFE562
RGBrgb(175, 229, 98)
HSLhsl(85, 72%, 64%)
HSVhsv(85, 57%, 90%)
CMYKcmyk(23.6%, 0%, 57.2%, 10.2%)
CIE-LABlab(85.01, -37.50, 57.20)
CIE-LCHlch(85.01, 68.40, 123.25°)
OKLaboklab(85.8% -0.1055 0.1336)
OKLCHoklch(85.8% 0.17 128.3)
XYZxyz(47.9029, 66.0335, 21.7749)
Luminance0.6603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE562 #9862E5
analogous
#E5DA62 #AFE562 #6EE562
triadic
#AFE562 #62AFE5 #E562AF
tetradic
#AFE562 #62E5DA #9862E5 #E5626E
square
#AFE562 #62E5DA #9862E5 #E5626E
split-complementary
#AFE562 #626EE5 #DA62E5
monochromatic
#73B01D #94DC2D #AFE562 #CAEE97 #E5F6CB

Accessibility & contrast

On white

1.48
#AFE562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#AFE562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE562
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE562#FFFFFF#000000##000000
##AFE5621.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD754
Deuteranopia (green-blind)
#E8D36B
Tritanopia (blue-blind)
#B4DCC9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe562;
/* rgb */ color: rgb(175, 229, 98);
/* oklch */ color: oklch(85.8% 0.170 128.3);
Tailwind
colors: {
  custom: {
    50: '#caed93',
    500: '#afe562',
    950: '#000000',
  },
}
SCSS
$custom: #afe562;
$custom-light: #caed93;
$custom-dark: #000000;
JSON
{
  "hex": "#afe562",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 84.733,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85795,
    "c": 0.17025,
    "h": 128.3
  },
  "luminance": 0.66034
}

Semantic roles & 50–950 ramp

primary
#AFE562
secondary
#6B3BB1
accent
#12D462
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE562

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

Preview Lab → · Contrast checker → · Palette generator →

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