#AFE38E#AFE38E

#AFE38E is a very light, vivid yellow-green. Relative luminance 0.660; OKLCH L 86.0% C 0.125 H 134.0°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#AFE38E
RGBrgb(175, 227, 142)
HSLhsl(97, 60%, 72%)
HSVhsv(97, 37%, 89%)
CMYKcmyk(22.9%, 0%, 37.4%, 11%)
CIE-LABlab(85.00, -31.63, 36.24)
CIE-LCHlch(85.00, 48.10, 131.12°)
OKLaboklab(85.96% -0.0865 0.0896)
OKLCHoklch(85.96% 0.125 134)
XYZxyz(50.0297, 66.0039, 35.6901)
Luminance0.6601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE38E #C28EE3
analogous
#DAE38E #AFE38E #8EE398
triadic
#AFE38E #8EAFE3 #E38EAF
tetradic
#AFE38E #8EDAE3 #C28EE3 #E3988E
square
#AFE38E #8EDAE3 #C28EE3 #E3988E
split-complementary
#AFE38E #988EE3 #E38EDA
monochromatic
#6BC631 #8CD75D #AFE38E #D2EFBF #EEF9E6

Accessibility & contrast

On white

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

On black

14.20
#AFE38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE38E
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE38E#FFFFFF#000000##000000
##AFE38E1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D788
Deuteranopia (green-blind)
#E2D393
Tritanopia (blue-blind)
#AFDDCE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe38e;
/* rgb */ color: rgb(175, 227, 142);
/* oklch */ color: oklch(86.0% 0.125 134.0);
Tailwind
colors: {
  custom: {
    50: '#c8ecb0',
    500: '#afe38e',
    950: '#000000',
  },
}
SCSS
$custom: #afe38e;
$custom-light: #c8ecb0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe38e",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 142
  },
  "hsl": {
    "h": 96.706,
    "s": 60.284,
    "l": 72.353
  },
  "oklch": {
    "l": 0.85961,
    "c": 0.12453,
    "h": 134
  },
  "luminance": 0.66005
}

Semantic roles & 50–950 ramp

primary
#AFE38E
secondary
#9659BC
accent
#1EC886
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE38E

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

Preview Lab → · Contrast checker → · Palette generator →

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