#AFE387#AFE387

#AFE387 is a very light, vivid yellow-green. Relative luminance 0.658; OKLCH L 85.8% C 0.132 H 132.6°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#AFE387
RGBrgb(175, 227, 135)
HSLhsl(94, 62%, 71%)
HSVhsv(94, 41%, 89%)
CMYKcmyk(22.9%, 0%, 40.5%, 11%)
CIE-LABlab(84.89, -32.56, 39.60)
CIE-LCHlch(84.89, 51.27, 129.42°)
OKLaboklab(85.84% -0.0893 0.0971)
OKLCHoklch(85.84% 0.132 132.6)
XYZxyz(49.5205, 65.8002, 33.0086)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE387 #BB87E3
analogous
#DDE387 #AFE387 #87E38D
triadic
#AFE387 #87AFE3 #E387AF
tetradic
#AFE387 #87DDE3 #BB87E3 #E38D87
square
#AFE387 #87DDE3 #BB87E3 #E38D87
split-complementary
#AFE387 #8D87E3 #E387DD
monochromatic
#6EC22D #8ED755 #AFE387 #D0EFB9 #EEF9E6

Accessibility & contrast

On white

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

On black

14.16
#AFE387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE387
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE387#FFFFFF#000000##000000
##AFE3871.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD780
Deuteranopia (green-blind)
#E2D38C
Tritanopia (blue-blind)
#B0DCCC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe387;
/* rgb */ color: rgb(175, 227, 135);
/* oklch */ color: oklch(85.8% 0.132 132.6);
Tailwind
colors: {
  custom: {
    50: '#c8ecab',
    500: '#afe387',
    950: '#000000',
  },
}
SCSS
$custom: #afe387;
$custom-light: #c8ecab;
$custom-dark: #000000;
JSON
{
  "hex": "#afe387",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 135
  },
  "hsl": {
    "h": 93.913,
    "s": 62.162,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85843,
    "c": 0.13195,
    "h": 132.6
  },
  "luminance": 0.65801
}

Semantic roles & 50–950 ramp

primary
#AFE387
secondary
#8E53BB
accent
#1CCA7E
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE387

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

Preview Lab → · Contrast checker → · Palette generator →

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