#AFE87E#AFE87E

#AFE87E is a very light, vivid yellow-green. Relative luminance 0.683; OKLCH L 86.8% C 0.148 H 132.0°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#AFE87E
RGBrgb(175, 232, 126)
HSLhsl(92, 70%, 70%)
HSVhsv(92, 46%, 91%)
CMYKcmyk(24.6%, 0%, 45.7%, 9%)
CIE-LABlab(86.17, -35.96, 45.62)
CIE-LCHlch(86.17, 58.09, 128.25°)
OKLaboklab(86.83% -0.0993 0.1103)
OKLCHoklch(86.83% 0.148 132)
XYZxyz(50.3009, 68.3323, 30.2739)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE87E #B77EE8
analogous
#E4E87E #AFE87E #7EE882
triadic
#AFE87E #7EAFE8 #E87EAF
tetradic
#AFE87E #7EE4E8 #B77EE8 #E8827E
square
#AFE87E #7EE4E8 #B77EE8 #E8827E
split-complementary
#AFE87E #827EE8 #E87EE4
monochromatic
#70C824 #8FDF4A #AFE87E #CFF1B2 #EFFAE5

Accessibility & contrast

On white

1.43
#AFE87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#AFE87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE87E
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE87E#FFFFFF#000000##000000
##AFE87E1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA75
Deuteranopia (green-blind)
#E8D684
Tritanopia (blue-blind)
#B1E0CF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe87e;
/* rgb */ color: rgb(175, 232, 126);
/* oklch */ color: oklch(86.8% 0.148 132.0);
Tailwind
colors: {
  custom: {
    50: '#c9efa5',
    500: '#afe87e',
    950: '#000000',
  },
}
SCSS
$custom: #afe87e;
$custom-light: #c9efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe87e",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 126
  },
  "hsl": {
    "h": 92.264,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86834,
    "c": 0.14841,
    "h": 132
  },
  "luminance": 0.68334
}

Semantic roles & 50–950 ramp

primary
#AFE87E
secondary
#8A4AC1
accent
#14D27A
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE87E

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

Preview Lab → · Contrast checker → · Palette generator →

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