#AFE373#AFE373

#AFE373 is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.5% C 0.152 H 129.6°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#AFE373
RGBrgb(175, 227, 115)
HSLhsl(88, 67%, 67%)
HSVhsv(88, 49%, 89%)
CMYKcmyk(22.9%, 0%, 49.3%, 11%)
CIE-LABlab(84.63, -34.92, 48.99)
CIE-LCHlch(84.63, 60.16, 125.48°)
OKLaboklab(85.55% -0.0971 0.1171)
OKLCHoklch(85.55% 0.152 129.6)
XYZxyz(48.2423, 65.2890, 26.2767)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE373 #A773E3
analogous
#E3DF73 #AFE373 #77E373
triadic
#AFE373 #73AFE3 #E373AF
tetradic
#AFE373 #73E3DF #A773E3 #E37377
square
#AFE373 #73E3DF #A773E3 #E37377
split-complementary
#AFE373 #7377E3 #DF73E3
monochromatic
#73B725 #92D940 #AFE373 #CCEDA6 #E9F7D9

Accessibility & contrast

On white

1.49
#AFE373 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#AFE373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE373
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE373#FFFFFF#000000##000000
##AFE3731.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD669
Deuteranopia (green-blind)
#E4D27A
Tritanopia (blue-blind)
#B3DBC9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe373;
/* rgb */ color: rgb(175, 227, 115);
/* oklch */ color: oklch(85.5% 0.152 129.6);
Tailwind
colors: {
  custom: {
    50: '#c9ec9e',
    500: '#afe373',
    950: '#000000',
  },
}
SCSS
$custom: #afe373;
$custom-light: #c9ec9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe373",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 115
  },
  "hsl": {
    "h": 87.857,
    "s": 66.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85546,
    "c": 0.15213,
    "h": 129.6
  },
  "luminance": 0.6529
}

Semantic roles & 50–950 ramp

primary
#AFE373
secondary
#7943B7
accent
#17CF6C
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE373

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

Preview Lab → · Contrast checker → · Palette generator →

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