#AFE87D#AFE87D

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

Color values

HEX#AFE87D
RGBrgb(175, 232, 125)
HSLhsl(92, 70%, 70%)
HSVhsv(92, 46%, 91%)
CMYKcmyk(24.6%, 0%, 46.1%, 9%)
CIE-LABlab(86.16, -36.08, 46.09)
CIE-LCHlch(86.16, 58.53, 128.06°)
OKLaboklab(86.82% -0.0996 0.1113)
OKLCHoklch(86.82% 0.149 131.8)
XYZxyz(50.2367, 68.3066, 29.9358)
Luminance0.6831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE87D #B67DE8
analogous
#E4E87D #AFE87D #7DE881
triadic
#AFE87D #7DAFE8 #E87DAF
tetradic
#AFE87D #7DE4E8 #B67DE8 #E8817D
square
#AFE87D #7DE4E8 #B67DE8 #E8817D
split-complementary
#AFE87D #817DE8 #E87DE4
monochromatic
#70C723 #8FDF49 #AFE87D #CFF1B1 #EFFAE5

Accessibility & contrast

On white

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

On black

14.66
#AFE87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE87D
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE87D#FFFFFF#000000##000000
##AFE87D1.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA74
Deuteranopia (green-blind)
#E8D683
Tritanopia (blue-blind)
#B1E0CF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe87d;
/* rgb */ color: rgb(175, 232, 125);
/* oklch */ color: oklch(86.8% 0.149 131.8);
Tailwind
colors: {
  custom: {
    50: '#c9efa4',
    500: '#afe87d',
    950: '#000000',
  },
}
SCSS
$custom: #afe87d;
$custom-light: #c9efa4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe87d",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 125
  },
  "hsl": {
    "h": 91.963,
    "s": 69.935,
    "l": 70
  },
  "oklch": {
    "l": 0.8682,
    "c": 0.1494,
    "h": 131.8
  },
  "luminance": 0.68308
}

Semantic roles & 50–950 ramp

primary
#AFE87D
secondary
#8949C1
accent
#14D279
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE87D

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

Preview Lab → · Contrast checker → · Palette generator →

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