#AFD17E#AFD17E

#AFD17E is a light, moderate yellow-green. Relative luminance 0.562; OKLCH L 81.7% C 0.115 H 126.9°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#AFD17E
RGBrgb(175, 209, 126)
HSLhsl(85, 47%, 66%)
HSVhsv(85, 40%, 82%)
CMYKcmyk(16.3%, 0%, 39.7%, 18%)
CIE-LABlab(79.74, -25.16, 37.50)
CIE-LCHlch(79.74, 45.16, 123.86°)
OKLaboklab(81.65% -0.0691 0.0919)
OKLCHoklch(81.65% 0.115 126.9)
XYZxyz(44.2451, 56.2208, 28.2553)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD17E #A07ED1
analogous
#D1C97E #AFD17E #85D17E
triadic
#AFD17E #7EAFD1 #D17EAF
tetradic
#AFD17E #7ED1C9 #A07ED1 #D17E85
square
#AFD17E #7ED1C9 #A07ED1 #D17E85
split-complementary
#AFD17E #7E85D1 #C97ED1
monochromatic
#739D38 #93C151 #AFD17E #CBE1AB #E7F1D8

Accessibility & contrast

On white

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

On black

12.24
#AFD17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD17E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD17E#FFFFFF#000000##000000
##AFD17E1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C778
Deuteranopia (green-blind)
#D4C582
Tritanopia (blue-blind)
#B3CABD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd17e;
/* rgb */ color: rgb(175, 209, 126);
/* oklch */ color: oklch(81.7% 0.115 126.9);
Tailwind
colors: {
  custom: {
    50: '#c8dfa4',
    500: '#afd17e',
    950: '#000000',
  },
}
SCSS
$custom: #afd17e;
$custom-light: #c8dfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd17e",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 126
  },
  "hsl": {
    "h": 84.578,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81653,
    "c": 0.11501,
    "h": 126.9
  },
  "luminance": 0.56221
}

Semantic roles & 50–950 ramp

primary
#AFD17E
secondary
#7251A2
accent
#2BBB66
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD17E

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

Preview Lab → · Contrast checker → · Palette generator →

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