#AFD38E#AFD38E

#AFD38E is a very light, moderate yellow-green. Relative luminance 0.577; OKLCH L 82.4% C 0.100 H 130.7°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#AFD38E
RGBrgb(175, 211, 142)
HSLhsl(91, 44%, 69%)
HSVhsv(91, 33%, 83%)
CMYKcmyk(17.1%, 0%, 32.7%, 17.3%)
CIE-LABlab(80.55, -24.00, 30.38)
CIE-LCHlch(80.55, 38.71, 128.31°)
OKLaboklab(82.38% -0.0653 0.0758)
OKLCHoklch(82.38% 0.1 130.7)
XYZxyz(45.8551, 57.6548, 34.2986)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD38E #B28ED3
analogous
#D2D38E #AFD38E #8ED390
triadic
#AFD38E #8EAFD3 #D38EAF
tetradic
#AFD38E #8ED2D3 #B28ED3 #D3908E
square
#AFD38E #8ED2D3 #B28ED3 #D3908E
split-complementary
#AFD38E #908ED3 #D38ED2
monochromatic
#71A641 #90C262 #AFD38E #CEE4BA #EDF5E6

Accessibility & contrast

On white

1.68
#AFD38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#AFD38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD38E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD38E#FFFFFF#000000##000000
##AFD38E1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CA89
Deuteranopia (green-blind)
#D4C791
Tritanopia (blue-blind)
#B1CDC1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd38e;
/* rgb */ color: rgb(175, 211, 142);
/* oklch */ color: oklch(82.4% 0.100 130.7);
Tailwind
colors: {
  custom: {
    50: '#c7e0af',
    500: '#afd38e',
    950: '#000000',
  },
}
SCSS
$custom: #afd38e;
$custom-light: #c7e0af;
$custom-dark: #000000;
JSON
{
  "hex": "#afd38e",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 142
  },
  "hsl": {
    "h": 91.304,
    "s": 43.949,
    "l": 69.216
  },
  "oklch": {
    "l": 0.82383,
    "c": 0.10006,
    "h": 130.7
  },
  "luminance": 0.57655
}

Semantic roles & 50–950 ramp

primary
#AFD38E
secondary
#845CA9
accent
#2EB776
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD38E

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

Preview Lab → · Contrast checker → · Palette generator →

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