#AFD47F#AFD47F

#AFD47F is a very light, moderate yellow-green. Relative luminance 0.577; OKLCH L 82.3% C 0.118 H 128.0°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#AFD47F
RGBrgb(175, 212, 127)
HSLhsl(86, 50%, 66%)
HSVhsv(86, 40%, 83%)
CMYKcmyk(17.5%, 0%, 40.1%, 16.9%)
CIE-LABlab(80.59, -26.49, 38.09)
CIE-LCHlch(80.59, 46.39, 124.82°)
OKLaboklab(82.34% -0.0728 0.0933)
OKLCHoklch(82.34% 0.118 128)
XYZxyz(45.0530, 57.7327, 28.8445)
Luminance0.5773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD47F #A47FD4
analogous
#D4CF7F #AFD47F #85D47F
triadic
#AFD47F #7FAFD4 #D47FAF
tetradic
#AFD47F #7FD4CF #A47FD4 #D47F85
square
#AFD47F #7FD4CF #A47FD4 #D47F85
split-complementary
#AFD47F #7F85D4 #CF7FD4
monochromatic
#73A236 #92C551 #AFD47F #CCE3AD #E8F3DB

Accessibility & contrast

On white

1.67
#AFD47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#AFD47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD47F
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD47F#FFFFFF#000000##000000
##AFD47F1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA79
Deuteranopia (green-blind)
#D6C783
Tritanopia (blue-blind)
#B3CDBF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd47f;
/* rgb */ color: rgb(175, 212, 127);
/* oklch */ color: oklch(82.3% 0.118 128.0);
Tailwind
colors: {
  custom: {
    50: '#c8e1a5',
    500: '#afd47f',
    950: '#000000',
  },
}
SCSS
$custom: #afd47f;
$custom-light: #c8e1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afd47f",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 127
  },
  "hsl": {
    "h": 86.118,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82341,
    "c": 0.11834,
    "h": 128
  },
  "luminance": 0.57733
}

Semantic roles & 50–950 ramp

primary
#AFD47F
secondary
#7651A7
accent
#28BD69
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD47F

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

Preview Lab → · Contrast checker → · Palette generator →

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