#AFD166#AFD166

#AFD166 is a light, vivid yellow-green. Relative luminance 0.557; OKLCH L 81.3% C 0.140 H 124.1°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#AFD166
RGBrgb(175, 209, 102)
HSLhsl(79, 54%, 61%)
HSVhsv(79, 51%, 82%)
CMYKcmyk(16.3%, 0%, 51.2%, 18%)
CIE-LABlab(79.43, -27.85, 48.88)
CIE-LCHlch(79.43, 56.26, 119.68°)
OKLaboklab(81.3% -0.0783 0.1159)
OKLCHoklch(81.3% 0.14 124.1)
XYZxyz(42.8780, 55.6739, 21.0550)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD166 #8866D1
analogous
#D1BD66 #AFD166 #79D166
triadic
#AFD166 #66AFD1 #D166AF
tetradic
#AFD166 #66D1BD #8866D1 #D16679
square
#AFD166 #66D1BD #8866D1 #D16679
split-complementary
#AFD166 #6679D1 #BD66D1
monochromatic
#71912C #95C03A #AFD166 #C8DF95 #E0EDC4

Accessibility & contrast

On white

1.73
#AFD166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#AFD166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD166
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD166#FFFFFF#000000##000000
##AFD1661.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC65C
Deuteranopia (green-blind)
#D6C46C
Tritanopia (blue-blind)
#B6C8B9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd166;
/* rgb */ color: rgb(175, 209, 102);
/* oklch */ color: oklch(81.3% 0.140 124.1);
Tailwind
colors: {
  custom: {
    50: '#c9df94',
    500: '#afd166',
    950: '#000000',
  },
}
SCSS
$custom: #afd166;
$custom-light: #c9df94;
$custom-dark: #000000;
JSON
{
  "hex": "#afd166",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 79.065,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81302,
    "c": 0.13992,
    "h": 124.1
  },
  "luminance": 0.55674
}

Semantic roles & 50–950 ramp

primary
#AFD166
secondary
#5F4497
accent
#24C156
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD166

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

Preview Lab → · Contrast checker → · Palette generator →

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