#AFEF66#AFEF66

#AFEF66 is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.1% C 0.180 H 130.3°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#AFEF66
RGBrgb(175, 239, 102)
HSLhsl(88, 81%, 67%)
HSVhsv(88, 57%, 94%)
CMYKcmyk(26.8%, 0%, 57.3%, 6.3%)
CIE-LABlab(87.87, -41.59, 58.71)
CIE-LCHlch(87.87, 71.95, 125.31°)
OKLaboklab(88.13% -0.1165 0.1372)
OKLCHoklch(88.13% 0.18 130.3)
XYZxyz(50.9435, 71.8049, 23.7435)
Luminance0.7181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF66 #A666EF
analogous
#EFEA66 #AFEF66 #6BEF66
triadic
#AFEF66 #66AFEF #EF66AF
tetradic
#AFEF66 #66EFEA #A666EF #EF666B
square
#AFEF66 #66EFEA #A666EF #EF666B
split-complementary
#AFEF66 #666BEF #EA66EF
monochromatic
#73C615 #92E92F #AFEF66 #CCF59D #E9FBD5

Accessibility & contrast

On white

1.37
#AFEF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#AFEF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF66
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF66#FFFFFF#000000##000000
##AFEF661.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF58
Deuteranopia (green-blind)
#F0DB70
Tritanopia (blue-blind)
#B3E6D1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afef66;
/* rgb */ color: rgb(175, 239, 102);
/* oklch */ color: oklch(88.1% 0.180 130.3);
Tailwind
colors: {
  custom: {
    50: '#caf496',
    500: '#afef66',
    950: '#000000',
  },
}
SCSS
$custom: #afef66;
$custom-light: #caf496;
$custom-dark: #000000;
JSON
{
  "hex": "#afef66",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 102
  },
  "hsl": {
    "h": 88.029,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.88125,
    "c": 0.18002,
    "h": 130.3
  },
  "luminance": 0.71806
}

Semantic roles & 50–950 ramp

primary
#AFEF66
secondary
#7836C3
accent
#08DD6C
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFEF66

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

Preview Lab → · Contrast checker → · Palette generator →

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