#AFD47E#AFD47E

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

Color values

HEX#AFD47E
RGBrgb(175, 212, 126)
HSLhsl(86, 50%, 66%)
HSVhsv(86, 41%, 83%)
CMYKcmyk(17.5%, 0%, 40.6%, 16.9%)
CIE-LABlab(80.58, -26.61, 38.57)
CIE-LCHlch(80.58, 46.86, 124.60°)
OKLaboklab(82.33% -0.0732 0.0944)
OKLCHoklch(82.33% 0.119 127.8)
XYZxyz(44.9881, 57.7067, 28.5030)
Luminance0.5771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD47E #A37ED4
analogous
#D4CE7E #AFD47E #84D47E
triadic
#AFD47E #7EAFD4 #D47EAF
tetradic
#AFD47E #7ED4CE #A37ED4 #D47E84
square
#AFD47E #7ED4CE #A37ED4 #D47E84
split-complementary
#AFD47E #7E84D4 #CE7ED4
monochromatic
#73A236 #93C550 #AFD47E #CBE3AC #E8F3DA

Accessibility & contrast

On white

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

On black

12.54
#AFD47E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD47E
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD47E#FFFFFF#000000##000000
##AFD47E1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd47e;
/* rgb */ color: rgb(175, 212, 126);
/* oklch */ color: oklch(82.3% 0.119 127.8);
Tailwind
colors: {
  custom: {
    50: '#c8e1a4',
    500: '#afd47e',
    950: '#000000',
  },
}
SCSS
$custom: #afd47e;
$custom-light: #c8e1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd47e",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 126
  },
  "hsl": {
    "h": 85.814,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82325,
    "c": 0.11943,
    "h": 127.8
  },
  "luminance": 0.57707
}

Semantic roles & 50–950 ramp

primary
#AFD47E
secondary
#7550A6
accent
#28BD68
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD47E

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

Preview Lab → · Contrast checker → · Palette generator →

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