#AFE573#AFE573

#AFE573 is a very light, vivid yellow-green. Relative luminance 0.664; OKLCH L 86.0% C 0.155 H 130.0°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#AFE573
RGBrgb(175, 229, 115)
HSLhsl(88, 69%, 67%)
HSVhsv(88, 50%, 90%)
CMYKcmyk(23.6%, 0%, 49.8%, 10.2%)
CIE-LABlab(85.19, -35.83, 49.67)
CIE-LCHlch(85.19, 61.24, 125.81°)
OKLaboklab(86% -0.0996 0.1186)
OKLCHoklch(86% 0.155 130)
XYZxyz(48.7925, 66.3893, 26.4601)
Luminance0.6639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE573 #A973E5
analogous
#E5E273 #AFE573 #76E573
triadic
#AFE573 #73AFE5 #E573AF
tetradic
#AFE573 #73E5E2 #A973E5 #E57376
square
#AFE573 #73E5E2 #A973E5 #E57376
split-complementary
#AFE573 #7376E5 #E273E5
monochromatic
#73BB23 #92DB3F #AFE573 #CCEFA7 #EAF8DA

Accessibility & contrast

On white

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

On black

14.28
#AFE573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE573
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE573#FFFFFF#000000##000000
##AFE5731.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED769
Deuteranopia (green-blind)
#E6D47A
Tritanopia (blue-blind)
#B2DDCB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe573;
/* rgb */ color: rgb(175, 229, 115);
/* oklch */ color: oklch(86.0% 0.155 130.0);
Tailwind
colors: {
  custom: {
    50: '#c9ed9e',
    500: '#afe573',
    950: '#000000',
  },
}
SCSS
$custom: #afe573;
$custom-light: #c9ed9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe573",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 115
  },
  "hsl": {
    "h": 88.421,
    "s": 68.675,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86,
    "c": 0.15491,
    "h": 130
  },
  "luminance": 0.6639
}

Semantic roles & 50–950 ramp

primary
#AFE573
secondary
#7B41BB
accent
#15D16E
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE573

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

Preview Lab → · Contrast checker → · Palette generator →

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