#AFE166#AFE166

#AFE166 is a very light, vivid yellow-green. Relative luminance 0.639; OKLCH L 84.9% C 0.161 H 127.9°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#AFE166
RGBrgb(175, 225, 102)
HSLhsl(84, 67%, 64%)
HSVhsv(84, 55%, 88%)
CMYKcmyk(22.2%, 0%, 54.7%, 11.8%)
CIE-LABlab(83.93, -35.32, 54.17)
CIE-LCHlch(83.93, 64.66, 123.11°)
OKLaboklab(84.93% -0.0992 0.1274)
OKLCHoklch(84.93% 0.161 127.9)
XYZxyz(47.0025, 63.9229, 22.4298)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE166 #9866E1
analogous
#E1D566 #AFE166 #72E166
triadic
#AFE166 #66AFE1 #E166AF
tetradic
#AFE166 #66E1D5 #9866E1 #E16672
square
#AFE166 #66E1D5 #9866E1 #E16672
split-complementary
#AFE166 #6672E1 #D566E1
monochromatic
#73AB22 #94D733 #AFE166 #CAEB99 #E5F5CC

Accessibility & contrast

On white

1.52
#AFE166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#AFE166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE166
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE166#FFFFFF#000000##000000
##AFE1661.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD35A
Deuteranopia (green-blind)
#E4D06E
Tritanopia (blue-blind)
#B4D8C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe166;
/* rgb */ color: rgb(175, 225, 102);
/* oklch */ color: oklch(84.9% 0.161 127.9);
Tailwind
colors: {
  custom: {
    50: '#c9ea95',
    500: '#afe166',
    950: '#000000',
  },
}
SCSS
$custom: #afe166;
$custom-light: #c9ea95;
$custom-dark: #000000;
JSON
{
  "hex": "#afe166",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 84.39,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84929,
    "c": 0.16146,
    "h": 127.9
  },
  "luminance": 0.63924
}

Semantic roles & 50–950 ramp

primary
#AFE166
secondary
#6B3EAD
accent
#16CF61
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE166

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

Preview Lab → · Contrast checker → · Palette generator →

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