#AFF986#AFF986

#AFF986 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 90.8% C 0.165 H 135.3°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#AFF986
RGBrgb(175, 249, 134)
HSLhsl(99, 91%, 75%)
HSVhsv(99, 46%, 98%)
CMYKcmyk(29.7%, 0%, 46.2%, 2.4%)
CIE-LABlab(91.05, -42.60, 47.85)
CIE-LCHlch(91.05, 64.07, 131.67°)
OKLaboklab(90.81% -0.1172 0.1158)
OKLCHoklch(90.81% 0.165 135.3)
XYZxyz(55.8566, 78.5846, 34.7750)
Luminance0.7859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF986 #D086F9
analogous
#E8F986 #AFF986 #86F997
triadic
#AFF986 #86AFF9 #F986AF
tetradic
#AFF986 #86E8F9 #D086F9 #F99786
square
#AFF986 #86E8F9 #D086F9 #F99786
split-complementary
#AFF986 #9786F9 #F986E8
monochromatic
#62F311 #88F64C #AFF986 #D6FCC0 #ECFEE2

Accessibility & contrast

On white

1.26
#AFF986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#AFF986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF986
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF986#FFFFFF#000000##000000
##AFF9861.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97D
Deuteranopia (green-blind)
#F6E38D
Tritanopia (blue-blind)
#AEF1DE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff986;
/* rgb */ color: rgb(175, 249, 134);
/* oklch */ color: oklch(90.8% 0.165 135.3);
Tailwind
colors: {
  custom: {
    50: '#c9fbab',
    500: '#aff986',
    950: '#000000',
  },
}
SCSS
$custom: #aff986;
$custom-light: #c9fbab;
$custom-dark: #000000;
JSON
{
  "hex": "#aff986",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 134
  },
  "hsl": {
    "h": 98.609,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.90811,
    "c": 0.16472,
    "h": 135.3
  },
  "luminance": 0.78587
}

Semantic roles & 50–950 ramp

primary
#AFF986
secondary
#A54CD7
accent
#00E694
background
#FEFFFD
surface
#FAFFF7
border
#D3D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF986

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

Preview Lab → · Contrast checker → · Palette generator →

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