#AFF166#AFF166

#AFF166 is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 88.6% C 0.183 H 130.6°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#AFF166
RGBrgb(175, 241, 102)
HSLhsl(88, 83%, 67%)
HSVhsv(88, 58%, 95%)
CMYKcmyk(27.4%, 0%, 57.7%, 5.5%)
CIE-LABlab(88.44, -42.46, 59.36)
CIE-LCHlch(88.44, 72.98, 125.58°)
OKLaboklab(88.58% -0.1189 0.1386)
OKLCHoklch(88.58% 0.183 130.6)
XYZxyz(51.5323, 72.9825, 23.9398)
Luminance0.7298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF166 #A866F1
analogous
#F1ED66 #AFF166 #6AF166
triadic
#AFF166 #66AFF1 #F166AF
tetradic
#AFF166 #66F1ED #A866F1 #F1666A
square
#AFF166 #66F1ED #A866F1 #F1666A
split-complementary
#AFF166 #666AF1 #ED66F1
monochromatic
#73CA12 #92EC2E #AFF166 #CCF69E #EAFBD6

Accessibility & contrast

On white

1.35
#AFF166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#AFF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF166
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF166#FFFFFF#000000##000000
##AFF1661.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE157
Deuteranopia (green-blind)
#F2DC70
Tritanopia (blue-blind)
#B2E8D3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #aff166;
/* rgb */ color: rgb(175, 241, 102);
/* oklch */ color: oklch(88.6% 0.183 130.6);
Tailwind
colors: {
  custom: {
    50: '#caf696',
    500: '#aff166',
    950: '#000000',
  },
}
SCSS
$custom: #aff166;
$custom-light: #caf696;
$custom-dark: #000000;
JSON
{
  "hex": "#aff166",
  "rgb": {
    "r": 175,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 88.489,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88583,
    "c": 0.18262,
    "h": 130.6
  },
  "luminance": 0.72984
}

Semantic roles & 50–950 ramp

primary
#AFF166
secondary
#7A34C7
accent
#06E06D
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFF166

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

Preview Lab → · Contrast checker → · Palette generator →

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