#AFFD66#AFFD66

#AFFD66 is a very light, vivid yellow-green. Relative luminance 0.803; OKLCH L 91.3% C 0.198 H 132.2°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#AFFD66
RGBrgb(175, 253, 102)
HSLhsl(91, 97%, 70%)
HSVhsv(91, 60%, 99%)
CMYKcmyk(30.8%, 0%, 59.7%, 0.8%)
CIE-LABlab(91.83, -47.61, 63.18)
CIE-LCHlch(91.83, 79.11, 127.00°)
OKLaboklab(91.34% -0.1331 0.1468)
OKLCHoklch(91.34% 0.198 132.2)
XYZxyz(55.2020, 80.3219, 25.1630)
Luminance0.8032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD66 #B466FD
analogous
#FBFD66 #AFFD66 #66FD69
triadic
#AFFD66 #66AFFD #FD66AF
tetradic
#AFFD66 #66FBFD #B466FD #FD6966
square
#AFFD66 #66FBFD #B466FD #FD6966
split-complementary
#AFFD66 #6966FD #FD66FB
monochromatic
#71E603 #8FFC2A #AFFD66 #CFFEA2 #EEFFDF

Accessibility & contrast

On white

1.23
#AFFD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#AFFD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD66
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD66#FFFFFF#000000##000000
##AFFD661.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB55
Deuteranopia (green-blind)
#FCE571
Tritanopia (blue-blind)
#B1F3DD
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd66;
/* rgb */ color: rgb(175, 253, 102);
/* oklch */ color: oklch(91.3% 0.198 132.2);
Tailwind
colors: {
  custom: {
    50: '#cbfe97',
    500: '#affd66',
    950: '#000000',
  },
}
SCSS
$custom: #affd66;
$custom-light: #cbfe97;
$custom-dark: #000000;
JSON
{
  "hex": "#affd66",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 102
  },
  "hsl": {
    "h": 90.993,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91336,
    "c": 0.19814,
    "h": 132.2
  },
  "luminance": 0.80324
}

Semantic roles & 50–950 ramp

primary
#AFFD66
secondary
#862FD8
accent
#00E677
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180E
muted
#83867F

Preview Lab

Preview with #AFFD66

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

Preview Lab → · Contrast checker → · Palette generator →

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