#AFD37A#AFD37A

#AFD37A is a very light, vivid yellow-green. Relative luminance 0.571; OKLCH L 82.0% C 0.122 H 126.9°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#AFD37A
RGBrgb(175, 211, 122)
HSLhsl(84, 50%, 65%)
HSVhsv(84, 42%, 83%)
CMYKcmyk(17.1%, 0%, 42.2%, 17.3%)
CIE-LABlab(80.24, -26.62, 40.14)
CIE-LCHlch(80.24, 48.17, 123.55°)
OKLaboklab(82.04% -0.0734 0.0978)
OKLCHoklch(82.04% 0.122 126.9)
XYZxyz(44.4860, 57.1072, 27.0877)
Luminance0.5711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD37A #9E7AD3
analogous
#D3CA7A #AFD37A #82D37A
triadic
#AFD37A #7AAFD3 #D37AAF
tetradic
#AFD37A #7AD3CA #9E7AD3 #D37A82
square
#AFD37A #7AD3CA #9E7AD3 #D37A82
split-complementary
#AFD37A #7A82D3 #CA7AD3
monochromatic
#739E34 #93C44C #AFD37A #CBE2A8 #E6F1D6

Accessibility & contrast

On white

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

On black

12.42
#AFD37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD37A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD37A#FFFFFF#000000##000000
##AFD37A1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC873
Deuteranopia (green-blind)
#D6C67F
Tritanopia (blue-blind)
#B3CCBD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd37a;
/* rgb */ color: rgb(175, 211, 122);
/* oklch */ color: oklch(82.0% 0.122 126.9);
Tailwind
colors: {
  custom: {
    50: '#c8e0a2',
    500: '#afd37a',
    950: '#000000',
  },
}
SCSS
$custom: #afd37a;
$custom-light: #c8e0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afd37a",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 122
  },
  "hsl": {
    "h": 84.27,
    "s": 50.282,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82036,
    "c": 0.12227,
    "h": 126.9
  },
  "luminance": 0.57108
}

Semantic roles & 50–950 ramp

primary
#AFD37A
secondary
#704EA3
accent
#28BE64
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD37A

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

Preview Lab → · Contrast checker → · Palette generator →

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