#AFF788#AFF788

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

Color values

HEX#AFF788
RGBrgb(175, 247, 136)
HSLhsl(99, 87%, 75%)
HSVhsv(99, 45%, 97%)
CMYKcmyk(29.1%, 0%, 44.9%, 3.1%)
CIE-LABlab(90.51, -41.48, 46.23)
CIE-LCHlch(90.51, 62.11, 131.90°)
OKLaboklab(90.39% -0.114 0.1122)
OKLCHoklch(90.39% 0.16 135.4)
XYZxyz(55.3826, 77.4111, 35.3116)
Luminance0.7741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF788 #D088F7
analogous
#E7F788 #AFF788 #88F798
triadic
#AFF788 #88AFF7 #F788AF
tetradic
#AFF788 #88E7F7 #D088F7 #F79888
square
#AFF788 #88E7F7 #D088F7 #F79888
split-complementary
#AFF788 #9888F7 #F788E7
monochromatic
#62EF15 #88F34F #AFF788 #D6FBC1 #ECFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFF788#FFFFFF#000000##000000
##AFF7881.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)
#FEE87F
Deuteranopia (green-blind)
#F4E28F
Tritanopia (blue-blind)
#AEF0DD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff788;
/* rgb */ color: rgb(175, 247, 136);
/* oklch */ color: oklch(90.4% 0.160 135.4);
Tailwind
colors: {
  custom: {
    50: '#c9faac',
    500: '#aff788',
    950: '#000000',
  },
}
SCSS
$custom: #aff788;
$custom-light: #c9faac;
$custom-dark: #000000;
JSON
{
  "hex": "#aff788",
  "rgb": {
    "r": 175,
    "g": 247,
    "b": 136
  },
  "hsl": {
    "h": 98.919,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.90386,
    "c": 0.15995,
    "h": 135.4
  },
  "luminance": 0.77413
}

Semantic roles & 50–950 ramp

primary
#AFF788
secondary
#A54FD5
accent
#02E494
background
#FEFFFD
surface
#FAFFF7
border
#D3D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF788

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

Preview Lab → · Contrast checker → · Palette generator →

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