#AFF787#AFF787

#AFF787 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.4% C 0.161 H 135.3°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#AFF787
RGBrgb(175, 247, 135)
HSLhsl(99, 88%, 75%)
HSVhsv(99, 45%, 97%)
CMYKcmyk(29.1%, 0%, 45.3%, 3.1%)
CIE-LABlab(90.50, -41.60, 46.69)
CIE-LCHlch(90.50, 62.53, 131.70°)
OKLaboklab(90.37% -0.1144 0.1132)
OKLCHoklch(90.37% 0.161 135.3)
XYZxyz(55.3118, 77.3828, 34.9391)
Luminance0.7739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF787 #CF87F7
analogous
#E7F787 #AFF787 #87F797
triadic
#AFF787 #87AFF7 #F787AF
tetradic
#AFF787 #87E7F7 #CF87F7 #F79787
square
#AFF787 #87E7F7 #CF87F7 #F79787
split-complementary
#AFF787 #9787F7 #F787E7
monochromatic
#63EF14 #89F34E #AFF787 #D5FBC0 #ECFDE2

Accessibility & contrast

On white

1.27
#AFF787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#AFF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF787
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF787#FFFFFF#000000##000000
##AFF7871.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE87E
Deuteranopia (green-blind)
#F4E28E
Tritanopia (blue-blind)
#AEF0DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff787;
/* rgb */ color: rgb(175, 247, 135);
/* oklch */ color: oklch(90.4% 0.161 135.3);
Tailwind
colors: {
  custom: {
    50: '#c9faac',
    500: '#aff787',
    950: '#000000',
  },
}
SCSS
$custom: #aff787;
$custom-light: #c9faac;
$custom-dark: #000000;
JSON
{
  "hex": "#aff787",
  "rgb": {
    "r": 175,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 98.571,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90371,
    "c": 0.16093,
    "h": 135.3
  },
  "luminance": 0.77385
}

Semantic roles & 50–950 ramp

primary
#AFF787
secondary
#A44ED4
accent
#01E493
background
#FEFFFD
surface
#FAFFF7
border
#D3D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF787

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

Preview Lab → · Contrast checker → · Palette generator →

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