#AFD16F#AFD16F

#AFD16F is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.4% C 0.131 H 124.9°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#AFD16F
RGBrgb(175, 209, 111)
HSLhsl(81, 52%, 63%)
HSVhsv(81, 47%, 82%)
CMYKcmyk(16.3%, 0%, 46.9%, 18%)
CIE-LABlab(79.54, -26.92, 44.69)
CIE-LCHlch(79.54, 52.17, 121.06°)
OKLaboklab(81.42% -0.075 0.1074)
OKLCHoklch(81.42% 0.131 124.9)
XYZxyz(43.3488, 55.8623, 23.5346)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD16F #916FD1
analogous
#D1C26F #AFD16F #7ED16F
triadic
#AFD16F #6FAFD1 #D16FAF
tetradic
#AFD16F #6FD1C2 #916FD1 #D16F7E
square
#AFD16F #6FD1C2 #916FD1 #D16F7E
split-complementary
#AFD16F #6F7ED1 #C26FD1
monochromatic
#729630 #95C241 #AFD16F #C9E09D #E3EFCC

Accessibility & contrast

On white

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

On black

12.17
#AFD16F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD16F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD16F#FFFFFF#000000##000000
##AFD16F1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC667
Deuteranopia (green-blind)
#D6C575
Tritanopia (blue-blind)
#B5C9BA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd16f;
/* rgb */ color: rgb(175, 209, 111);
/* oklch */ color: oklch(81.4% 0.131 124.9);
Tailwind
colors: {
  custom: {
    50: '#c8df9a',
    500: '#afd16f',
    950: '#000000',
  },
}
SCSS
$custom: #afd16f;
$custom-light: #c8df9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd16f",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 111
  },
  "hsl": {
    "h": 80.816,
    "s": 51.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81423,
    "c": 0.13097,
    "h": 124.9
  },
  "luminance": 0.55863
}

Semantic roles & 50–950 ramp

primary
#AFD16F
secondary
#65499B
accent
#27BF5B
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD16F

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

Preview Lab → · Contrast checker → · Palette generator →

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