#AFE87F#AFE87F

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

Color values

HEX#AFE87F
RGBrgb(175, 232, 127)
HSLhsl(93, 70%, 70%)
HSVhsv(93, 45%, 91%)
CMYKcmyk(24.6%, 0%, 45.3%, 9%)
CIE-LABlab(86.19, -35.84, 45.16)
CIE-LCHlch(86.19, 57.65, 128.44°)
OKLaboklab(86.85% -0.0989 0.1093)
OKLCHoklch(86.85% 0.147 132.1)
XYZxyz(50.3657, 68.3582, 30.6154)
Luminance0.6836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE87F #B87FE8
analogous
#E4E87F #AFE87F #7FE883
triadic
#AFE87F #7FAFE8 #E87FAF
tetradic
#AFE87F #7FE4E8 #B87FE8 #E8837F
square
#AFE87F #7FE4E8 #B87FE8 #E8837F
split-complementary
#AFE87F #837FE8 #E87FE4
monochromatic
#6FC924 #8FDF4B #AFE87F #CFF1B3 #EFFAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE87F#FFFFFF#000000##000000
##AFE87F1.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)
#F0DA76
Deuteranopia (green-blind)
#E8D685
Tritanopia (blue-blind)
#B1E0CF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe87f;
/* rgb */ color: rgb(175, 232, 127);
/* oklch */ color: oklch(86.8% 0.147 132.1);
Tailwind
colors: {
  custom: {
    50: '#c9efa6',
    500: '#afe87f',
    950: '#000000',
  },
}
SCSS
$custom: #afe87f;
$custom-light: #c9efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe87f",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 92.571,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86849,
    "c": 0.14741,
    "h": 132.1
  },
  "luminance": 0.68359
}

Semantic roles & 50–950 ramp

primary
#AFE87F
secondary
#8B4BC1
accent
#14D27B
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE87F

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

Preview Lab → · Contrast checker → · Palette generator →

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