#AFEB87#AFEB87

#AFEB87 is a very light, vivid yellow-green. Relative luminance 0.703; OKLCH L 87.6% C 0.144 H 133.8°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#AFEB87
RGBrgb(175, 235, 135)
HSLhsl(96, 71%, 73%)
HSVhsv(96, 43%, 92%)
CMYKcmyk(25.5%, 0%, 42.6%, 7.8%)
CIE-LABlab(87.13, -36.23, 42.46)
CIE-LCHlch(87.13, 55.81, 130.48°)
OKLaboklab(87.65% -0.0995 0.1036)
OKLCHoklch(87.65% 0.144 133.8)
XYZxyz(51.7596, 70.2784, 33.7550)
Luminance0.7028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB87 #C387EB
analogous
#E1EB87 #AFEB87 #87EB91
triadic
#AFEB87 #87AFEB #EB87AF
tetradic
#AFEB87 #87E1EB #C387EB #EB9187
square
#AFEB87 #87E1EB #C387EB #EB9187
split-complementary
#AFEB87 #9187EB #EB87E1
monochromatic
#6AD423 #8CE253 #AFEB87 #D2F4BB #EEFBE5

Accessibility & contrast

On white

1.39
#AFEB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#AFEB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB87
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB87#FFFFFF#000000##000000
##AFEB871.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7F
Deuteranopia (green-blind)
#E9D88D
Tritanopia (blue-blind)
#AFE4D3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb87;
/* rgb */ color: rgb(175, 235, 135);
/* oklch */ color: oklch(87.6% 0.144 133.8);
Tailwind
colors: {
  custom: {
    50: '#c9f1ab',
    500: '#afeb87',
    950: '#000000',
  },
}
SCSS
$custom: #afeb87;
$custom-light: #c9f1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb87",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 135
  },
  "hsl": {
    "h": 96,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.8765,
    "c": 0.14369,
    "h": 133.8
  },
  "luminance": 0.7028
}

Semantic roles & 50–950 ramp

primary
#AFEB87
secondary
#9751C5
accent
#12D386
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEB87

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

Preview Lab → · Contrast checker → · Palette generator →

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