#AFEF87#AFEF87

#AFEF87 is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 88.6% C 0.149 H 134.4°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#AFEF87
RGBrgb(175, 239, 135)
HSLhsl(97, 76%, 73%)
HSVhsv(97, 44%, 94%)
CMYKcmyk(26.8%, 0%, 43.5%, 6.3%)
CIE-LABlab(88.25, -38.04, 43.87)
CIE-LCHlch(88.25, 58.07, 130.93°)
OKLaboklab(88.56% -0.1045 0.1069)
OKLCHoklch(88.56% 0.149 134.4)
XYZxyz(52.9177, 72.5946, 34.1410)
Luminance0.7260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF87 #C787EF
analogous
#E3EF87 #AFEF87 #87EF93
triadic
#AFEF87 #87AFEF #EF87AF
tetradic
#AFEF87 #87E3EF #C787EF #EF9387
square
#AFEF87 #87E3EF #C787EF #EF9387
split-complementary
#AFEF87 #9387EF #EF87E3
monochromatic
#68DE1E #8BE851 #AFEF87 #D3F6BD #EDFBE4

Accessibility & contrast

On white

1.35
#AFEF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#AFEF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF87
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF87#FFFFFF#000000##000000
##AFEF871.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E17F
Deuteranopia (green-blind)
#EDDC8D
Tritanopia (blue-blind)
#AFE8D6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef87;
/* rgb */ color: rgb(175, 239, 135);
/* oklch */ color: oklch(88.6% 0.149 134.4);
Tailwind
colors: {
  custom: {
    50: '#c9f4ab',
    500: '#afef87',
    950: '#000000',
  },
}
SCSS
$custom: #afef87;
$custom-light: #c9f4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afef87",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 135
  },
  "hsl": {
    "h": 96.923,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88555,
    "c": 0.14948,
    "h": 134.4
  },
  "luminance": 0.72596
}

Semantic roles & 50–950 ramp

primary
#AFEF87
secondary
#9B50CA
accent
#0DD98A
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEF87

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

Preview Lab → · Contrast checker → · Palette generator →

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