#AFFE66#AFFE66

#AFFE66 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 91.6% C 0.199 H 132.3°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#AFFE66
RGBrgb(175, 254, 102)
HSLhsl(91, 99%, 70%)
HSVhsv(91, 60%, 100%)
CMYKcmyk(31.1%, 0%, 59.8%, 0.4%)
CIE-LABlab(92.11, -48.04, 63.49)
CIE-LCHlch(92.11, 79.62, 127.11°)
OKLaboklab(91.57% -0.1343 0.1474)
OKLCHoklch(91.57% 0.199 132.3)
XYZxyz(55.5185, 80.9549, 25.2685)
Luminance0.8096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE66 #B566FE
analogous
#FBFE66 #AFFE66 #66FE69
triadic
#AFFE66 #66AFFE #FE66AF
tetradic
#AFFE66 #66FBFE #B566FE #FE6966
square
#AFFE66 #66FBFE #B566FE #FE6966
split-complementary
#AFFE66 #6966FE #FE66FB
monochromatic
#70E802 #8FFE29 #AFFE66 #CFFEA3 #EFFFE0

Accessibility & contrast

On white

1.22
#AFFE66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#AFFE66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE66
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE66#FFFFFF#000000##000000
##AFFE661.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC55
Deuteranopia (green-blind)
#FDE671
Tritanopia (blue-blind)
#B1F4DE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affe66;
/* rgb */ color: rgb(175, 254, 102);
/* oklch */ color: oklch(91.6% 0.199 132.3);
Tailwind
colors: {
  custom: {
    50: '#cbff97',
    500: '#affe66',
    950: '#000000',
  },
}
SCSS
$custom: #affe66;
$custom-light: #cbff97;
$custom-dark: #000000;
JSON
{
  "hex": "#affe66",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 102
  },
  "hsl": {
    "h": 91.184,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91566,
    "c": 0.19942,
    "h": 132.3
  },
  "luminance": 0.80957
}

Semantic roles & 50–950 ramp

primary
#AFFE66
secondary
#872FD9
accent
#00E677
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180E
muted
#83867F

Preview Lab

Preview with #AFFE66

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

Preview Lab → · Contrast checker → · Palette generator →

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