#AFE666#AFE666

#AFE666 is a very light, vivid yellow-green. Relative luminance 0.667; OKLCH L 86.1% C 0.168 H 128.8°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#AFE666
RGBrgb(175, 230, 102)
HSLhsl(86, 72%, 65%)
HSVhsv(86, 56%, 90%)
CMYKcmyk(23.9%, 0%, 55.7%, 9.8%)
CIE-LABlab(85.33, -37.58, 55.80)
CIE-LCHlch(85.33, 67.28, 123.96°)
OKLaboklab(86.07% -0.1055 0.1309)
OKLCHoklch(86.07% 0.168 128.8)
XYZxyz(48.3740, 66.6659, 22.8870)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE666 #9D66E6
analogous
#E6DD66 #AFE666 #6FE666
triadic
#AFE666 #66AFE6 #E666AF
tetradic
#AFE666 #66E6DD #9D66E6 #E6666F
square
#AFE666 #66E6DD #9D66E6 #E6666F
split-complementary
#AFE666 #666FE6 #DD66E6
monochromatic
#73B41D #93DD31 #AFE666 #CBEF9B #E6F7CF

Accessibility & contrast

On white

1.47
#AFE666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#AFE666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE666
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE666#FFFFFF#000000##000000
##AFE6661.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D859
Deuteranopia (green-blind)
#E8D46F
Tritanopia (blue-blind)
#B4DDCA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe666;
/* rgb */ color: rgb(175, 230, 102);
/* oklch */ color: oklch(86.1% 0.168 128.8);
Tailwind
colors: {
  custom: {
    50: '#caee95',
    500: '#afe666',
    950: '#000000',
  },
}
SCSS
$custom: #afe666;
$custom-light: #caee95;
$custom-dark: #000000;
JSON
{
  "hex": "#afe666",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 102
  },
  "hsl": {
    "h": 85.781,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86068,
    "c": 0.16813,
    "h": 128.8
  },
  "luminance": 0.66667
}

Semantic roles & 50–950 ramp

primary
#AFE666
secondary
#703CB5
accent
#12D465
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE666

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

Preview Lab → · Contrast checker → · Palette generator →

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