#AFE372#AFE372

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

Color values

HEX#AFE372
RGBrgb(175, 227, 114)
HSLhsl(88, 67%, 67%)
HSVhsv(88, 50%, 89%)
CMYKcmyk(22.9%, 0%, 49.8%, 11%)
CIE-LABlab(84.62, -35.03, 49.44)
CIE-LCHlch(84.62, 60.59, 125.31°)
OKLaboklab(85.53% -0.0974 0.1181)
OKLCHoklch(85.53% 0.153 129.5)
XYZxyz(48.1851, 65.2661, 25.9753)
Luminance0.6527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE372 #A672E3
analogous
#E3DF72 #AFE372 #77E372
triadic
#AFE372 #72AFE3 #E372AF
tetradic
#AFE372 #72E3DF #A672E3 #E37277
square
#AFE372 #72E3DF #A672E3 #E37277
split-complementary
#AFE372 #7277E3 #DF72E3
monochromatic
#73B624 #92D93F #AFE372 #CCEDA5 #E9F7D8

Accessibility & contrast

On white

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

On black

14.05
#AFE372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE372
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE372#FFFFFF#000000##000000
##AFE3721.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe372;
/* rgb */ color: rgb(175, 227, 114);
/* oklch */ color: oklch(85.5% 0.153 129.5);
Tailwind
colors: {
  custom: {
    50: '#c9ec9d',
    500: '#afe372',
    950: '#000000',
  },
}
SCSS
$custom: #afe372;
$custom-light: #c9ec9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe372",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 87.611,
    "s": 66.864,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85533,
    "c": 0.15309,
    "h": 129.5
  },
  "luminance": 0.65267
}

Semantic roles & 50–950 ramp

primary
#AFE372
secondary
#7842B7
accent
#17CF6B
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE372

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

Preview Lab → · Contrast checker → · Palette generator →

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