#AFD37D#AFD37D

#AFD37D is a very light, moderate yellow-green. Relative luminance 0.572; OKLCH L 82.1% C 0.119 H 127.4°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#AFD37D
RGBrgb(175, 211, 125)
HSLhsl(85, 49%, 66%)
HSVhsv(85, 41%, 83%)
CMYKcmyk(17.1%, 0%, 40.8%, 17.3%)
CIE-LABlab(80.28, -26.25, 38.70)
CIE-LCHlch(80.28, 46.76, 124.15°)
OKLaboklab(82.08% -0.0722 0.0946)
OKLCHoklch(82.08% 0.119 127.4)
XYZxyz(44.6747, 57.1827, 28.0818)
Luminance0.5718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD37D #A17DD3
analogous
#D3CC7D #AFD37D #84D37D
triadic
#AFD37D #7DAFD3 #D37DAF
tetradic
#AFD37D #7DD3CC #A17DD3 #D37D84
square
#AFD37D #7DD3CC #A17DD3 #D37D84
split-complementary
#AFD37D #7D84D3 #CC7DD3
monochromatic
#73A036 #93C44F #AFD37D #CBE2AB #E7F2D8

Accessibility & contrast

On white

1.69
#AFD37D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#AFD37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD37D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD37D#FFFFFF#000000##000000
##AFD37D1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC976
Deuteranopia (green-blind)
#D6C682
Tritanopia (blue-blind)
#B3CCBE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd37d;
/* rgb */ color: rgb(175, 211, 125);
/* oklch */ color: oklch(82.1% 0.119 127.4);
Tailwind
colors: {
  custom: {
    50: '#c8e0a4',
    500: '#afd37d',
    950: '#000000',
  },
}
SCSS
$custom: #afd37d;
$custom-light: #c8e0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd37d",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 125
  },
  "hsl": {
    "h": 85.116,
    "s": 49.425,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82084,
    "c": 0.11904,
    "h": 127.4
  },
  "luminance": 0.57183
}

Semantic roles & 50–950 ramp

primary
#AFD37D
secondary
#7350A4
accent
#29BD67
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD37D

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

Preview Lab → · Contrast checker → · Palette generator →

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