#AFD170#AFD170

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

Color values

HEX#AFD170
RGBrgb(175, 209, 112)
HSLhsl(81, 51%, 63%)
HSVhsv(81, 46%, 82%)
CMYKcmyk(16.3%, 0%, 46.4%, 18%)
CIE-LABlab(79.55, -26.81, 44.22)
CIE-LCHlch(79.55, 51.71, 121.23°)
OKLaboklab(81.44% -0.0746 0.1064)
OKLCHoklch(81.44% 0.13 125.1)
XYZxyz(43.4042, 55.8844, 23.8262)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD170 #9270D1
analogous
#D1C270 #AFD170 #7ED170
triadic
#AFD170 #70AFD1 #D170AF
tetradic
#AFD170 #70D1C2 #9270D1 #D1707E
square
#AFD170 #70D1C2 #9270D1 #D1707E
split-complementary
#AFD170 #707ED1 #C270D1
monochromatic
#739630 #95C242 #AFD170 #C9E09E #E3EFCD

Accessibility & contrast

On white

1.72
#AFD170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#AFD170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD170
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD170#FFFFFF#000000##000000
##AFD1701.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd170;
/* rgb */ color: rgb(175, 209, 112);
/* oklch */ color: oklch(81.4% 0.130 125.1);
Tailwind
colors: {
  custom: {
    50: '#c8df9b',
    500: '#afd170',
    950: '#000000',
  },
}
SCSS
$custom: #afd170;
$custom-light: #c8df9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd170",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 81.031,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81437,
    "c": 0.12995,
    "h": 125.1
  },
  "luminance": 0.55885
}

Semantic roles & 50–950 ramp

primary
#AFD170
secondary
#66499C
accent
#27BF5C
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD170

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

Preview Lab → · Contrast checker → · Palette generator →

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