#AFF786#AFF786

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

Color values

HEX#AFF786
RGBrgb(175, 247, 134)
HSLhsl(98, 88%, 75%)
HSVhsv(98, 46%, 97%)
CMYKcmyk(29.1%, 0%, 45.7%, 3.1%)
CIE-LABlab(90.48, -41.72, 47.15)
CIE-LCHlch(90.48, 62.96, 131.50°)
OKLaboklab(90.36% -0.1147 0.1142)
OKLCHoklch(90.36% 0.162 135.1)
XYZxyz(55.2417, 77.3548, 34.5700)
Luminance0.7736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF786 #CE86F7
analogous
#E8F786 #AFF786 #86F796
triadic
#AFF786 #86AFF7 #F786AF
tetradic
#AFF786 #86E8F7 #CE86F7 #F79686
square
#AFF786 #86E8F7 #CE86F7 #F79686
split-complementary
#AFF786 #9686F7 #F786E8
monochromatic
#63EF13 #89F34D #AFF786 #D5FBBF #ECFDE2

Accessibility & contrast

On white

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

On black

16.47
#AFF786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF786
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF786#FFFFFF#000000##000000
##AFF7861.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aff786;
/* rgb */ color: rgb(175, 247, 134);
/* oklch */ color: oklch(90.4% 0.162 135.1);
Tailwind
colors: {
  custom: {
    50: '#c9faab',
    500: '#aff786',
    950: '#000000',
  },
}
SCSS
$custom: #aff786;
$custom-light: #c9faab;
$custom-dark: #000000;
JSON
{
  "hex": "#aff786",
  "rgb": {
    "r": 175,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 98.23,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90357,
    "c": 0.16189,
    "h": 135.1
  },
  "luminance": 0.77357
}

Semantic roles & 50–950 ramp

primary
#AFF786
secondary
#A34DD4
accent
#01E492
background
#FEFFFD
surface
#FAFFF7
border
#D3D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF786

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

Preview Lab → · Contrast checker → · Palette generator →

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