#AFE37F#AFE37F

#AFE37F is a very light, vivid yellow-green. Relative luminance 0.656; OKLCH L 85.7% C 0.140 H 131.3°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#AFE37F
RGBrgb(175, 227, 127)
HSLhsl(91, 64%, 69%)
HSVhsv(91, 44%, 89%)
CMYKcmyk(22.9%, 0%, 44.1%, 11%)
CIE-LABlab(84.78, -33.55, 43.40)
CIE-LCHlch(84.78, 54.86, 127.71°)
OKLaboklab(85.72% -0.0925 0.1054)
OKLCHoklch(85.72% 0.14 131.3)
XYZxyz(48.9783, 65.5834, 30.1529)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE37F #B37FE3
analogous
#E1E37F #AFE37F #7FE381
triadic
#AFE37F #7FAFE3 #E37FAF
tetradic
#AFE37F #7FE1E3 #B37FE3 #E3817F
square
#AFE37F #7FE1E3 #B37FE3 #E3817F
split-complementary
#AFE37F #817FE3 #E37FE1
monochromatic
#71BE2A #90D84D #AFE37F #CEEEB1 #EEF9E3

Accessibility & contrast

On white

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

On black

14.12
#AFE37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE37F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE37F#FFFFFF#000000##000000
##AFE37F1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD677
Deuteranopia (green-blind)
#E3D285
Tritanopia (blue-blind)
#B1DCCB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe37f;
/* rgb */ color: rgb(175, 227, 127);
/* oklch */ color: oklch(85.7% 0.140 131.3);
Tailwind
colors: {
  custom: {
    50: '#c9eca6',
    500: '#afe37f',
    950: '#000000',
  },
}
SCSS
$custom: #afe37f;
$custom-light: #c9eca6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe37f",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 127
  },
  "hsl": {
    "h": 91.2,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.85717,
    "c": 0.14023,
    "h": 131.3
  },
  "luminance": 0.65584
}

Semantic roles & 50–950 ramp

primary
#AFE37F
secondary
#854CBB
accent
#1ACC76
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE37F

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

Preview Lab → · Contrast checker → · Palette generator →

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