#AFD17D#AFD17D

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

Color values

HEX#AFD17D
RGBrgb(175, 209, 125)
HSLhsl(84, 48%, 65%)
HSVhsv(84, 40%, 82%)
CMYKcmyk(16.3%, 0%, 40.2%, 18%)
CIE-LABlab(79.72, -25.29, 37.99)
CIE-LCHlch(79.72, 45.63, 123.65°)
OKLaboklab(81.64% -0.0695 0.093)
OKLCHoklch(81.64% 0.116 126.8)
XYZxyz(44.1809, 56.1951, 27.9172)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD17D #9F7DD1
analogous
#D1C97D #AFD17D #85D17D
triadic
#AFD17D #7DAFD1 #D17DAF
tetradic
#AFD17D #7DD1C9 #9F7DD1 #D17D85
square
#AFD17D #7DD1C9 #9F7DD1 #D17D85
split-complementary
#AFD17D #7D85D1 #C97DD1
monochromatic
#739C37 #93C150 #AFD17D #CBE1AA #E7F1D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD17D#FFFFFF#000000##000000
##AFD17D1.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)
#D9C777
Deuteranopia (green-blind)
#D4C581
Tritanopia (blue-blind)
#B3CABC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd17d;
/* rgb */ color: rgb(175, 209, 125);
/* oklch */ color: oklch(81.6% 0.116 126.8);
Tailwind
colors: {
  custom: {
    50: '#c8dfa4',
    500: '#afd17d',
    950: '#000000',
  },
}
SCSS
$custom: #afd17d;
$custom-light: #c8dfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd17d",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 125
  },
  "hsl": {
    "h": 84.286,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81637,
    "c": 0.11611,
    "h": 126.8
  },
  "luminance": 0.56196
}

Semantic roles & 50–950 ramp

primary
#AFD17D
secondary
#7151A2
accent
#2BBB65
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD17D

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

Preview Lab → · Contrast checker → · Palette generator →

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