#AFD37E#AFD37E

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

Color values

HEX#AFD37E
RGBrgb(175, 211, 126)
HSLhsl(85, 49%, 66%)
HSVhsv(85, 40%, 83%)
CMYKcmyk(17.1%, 0%, 40.3%, 17.3%)
CIE-LABlab(80.30, -26.13, 38.21)
CIE-LCHlch(80.30, 46.29, 124.36°)
OKLaboklab(82.1% -0.0718 0.0936)
OKLCHoklch(82.1% 0.118 127.5)
XYZxyz(44.7389, 57.2083, 28.4199)
Luminance0.5721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD37E #A27ED3
analogous
#D3CC7E #AFD37E #84D37E
triadic
#AFD37E #7EAFD3 #D37EAF
tetradic
#AFD37E #7ED3CC #A27ED3 #D37E84
square
#AFD37E #7ED3CC #A27ED3 #D37E84
split-complementary
#AFD37E #7E84D3 #CC7ED3
monochromatic
#73A037 #93C350 #AFD37E #CBE3AC #E8F2D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD37E#FFFFFF#000000##000000
##AFD37E1.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)
#DBC978
Deuteranopia (green-blind)
#D6C782
Tritanopia (blue-blind)
#B3CCBE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd37e;
/* rgb */ color: rgb(175, 211, 126);
/* oklch */ color: oklch(82.1% 0.118 127.5);
Tailwind
colors: {
  custom: {
    50: '#c8e0a4',
    500: '#afd37e',
    950: '#000000',
  },
}
SCSS
$custom: #afd37e;
$custom-light: #c8e0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd37e",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 126
  },
  "hsl": {
    "h": 85.412,
    "s": 49.133,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82101,
    "c": 0.11796,
    "h": 127.5
  },
  "luminance": 0.57209
}

Semantic roles & 50–950 ramp

primary
#AFD37E
secondary
#7450A5
accent
#29BC67
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD37E

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

Preview Lab → · Contrast checker → · Palette generator →

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