#AFFC87#AFFC87

#AFFC87 is a very light, vivid yellow-green. Relative luminance 0.805; OKLCH L 91.5% C 0.168 H 135.8°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#AFFC87
RGBrgb(175, 252, 135)
HSLhsl(99, 95%, 76%)
HSVhsv(99, 46%, 99%)
CMYKcmyk(30.6%, 0%, 46.4%, 1.2%)
CIE-LABlab(91.90, -43.78, 48.44)
CIE-LCHlch(91.90, 65.30, 132.11°)
OKLaboklab(91.51% -0.1204 0.1171)
OKLCHoklch(91.51% 0.168 135.8)
XYZxyz(56.8614, 80.4819, 35.4556)
Luminance0.8048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC87 #D487FC
analogous
#EAFC87 #AFFC87 #87FC99
triadic
#AFFC87 #87AFFC #FC87AF
tetradic
#AFFC87 #87EAFC #D487FC #FC9987
square
#AFFC87 #87EAFC #D487FC #FC9987
split-complementary
#AFFC87 #9987FC #FC87EA
monochromatic
#5FF910 #87FB4B #AFFC87 #D7FDC3 #EBFEE1

Accessibility & contrast

On white

1.23
#AFFC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.10
#AFFC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC87
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC87#FFFFFF#000000##000000
##AFFC871.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#F8E58E
Tritanopia (blue-blind)
#ADF4E0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affc87;
/* rgb */ color: rgb(175, 252, 135);
/* oklch */ color: oklch(91.5% 0.168 135.8);
Tailwind
colors: {
  custom: {
    50: '#cafeac',
    500: '#affc87',
    950: '#000000',
  },
}
SCSS
$custom: #affc87;
$custom-light: #cafeac;
$custom-dark: #000000;
JSON
{
  "hex": "#affc87",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 135
  },
  "hsl": {
    "h": 99.487,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91508,
    "c": 0.16798,
    "h": 135.8
  },
  "luminance": 0.80484
}

Semantic roles & 50–950 ramp

primary
#AFFC87
secondary
#AA4CDB
accent
#00E697
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131810
muted
#838681

Preview Lab

Preview with #AFFC87

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

Preview Lab → · Contrast checker → · Palette generator →

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