#AFFC66#AFFC66

#AFFC66 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.1% C 0.197 H 132.1°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#AFFC66
RGBrgb(175, 252, 102)
HSLhsl(91, 96%, 69%)
HSVhsv(91, 60%, 99%)
CMYKcmyk(30.6%, 0%, 59.5%, 1.2%)
CIE-LABlab(91.55, -47.19, 62.86)
CIE-LCHlch(91.55, 78.60, 126.90°)
OKLaboklab(91.11% -0.132 0.1461)
OKLCHoklch(91.11% 0.197 132.1)
XYZxyz(54.8871, 79.6922, 25.0580)
Luminance0.7969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC66 #B366FC
analogous
#FAFC66 #AFFC66 #66FC68
triadic
#AFFC66 #66AFFC #FC66AF
tetradic
#AFFC66 #66FAFC #B366FC #FC6866
square
#AFFC66 #66FAFC #B366FC #FC6866
split-complementary
#AFFC66 #6866FC #FC66FA
monochromatic
#71E304 #90FB2A #AFFC66 #CEFDA2 #EEFEDE

Accessibility & contrast

On white

1.24
#AFFC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.94
#AFFC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC66
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC66#FFFFFF#000000##000000
##AFFC661.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB55
Deuteranopia (green-blind)
#FBE571
Tritanopia (blue-blind)
#B1F2DC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc66;
/* rgb */ color: rgb(175, 252, 102);
/* oklch */ color: oklch(91.1% 0.197 132.1);
Tailwind
colors: {
  custom: {
    50: '#cbfe97',
    500: '#affc66',
    950: '#000000',
  },
}
SCSS
$custom: #affc66;
$custom-light: #cbfe97;
$custom-dark: #000000;
JSON
{
  "hex": "#affc66",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 102
  },
  "hsl": {
    "h": 90.8,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91106,
    "c": 0.19686,
    "h": 132.1
  },
  "luminance": 0.79694
}

Semantic roles & 50–950 ramp

primary
#AFFC66
secondary
#8530D6
accent
#00E676
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180E
muted
#83867F

Preview Lab

Preview with #AFFC66

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

Preview Lab → · Contrast checker → · Palette generator →

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