#AFD08D#AFD08D

#AFD08D is a light, moderate yellow-green. Relative luminance 0.561; OKLCH L 81.7% C 0.097 H 129.6°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#AFD08D
RGBrgb(175, 208, 141)
HSLhsl(90, 42%, 68%)
HSVhsv(90, 32%, 82%)
CMYKcmyk(15.9%, 0%, 32.2%, 18.4%)
CIE-LABlab(79.70, -22.67, 29.77)
CIE-LCHlch(79.70, 37.42, 127.30°)
OKLaboklab(81.7% -0.0616 0.0744)
OKLCHoklch(81.7% 0.097 129.6)
XYZxyz(45.0420, 56.1482, 33.6588)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD08D #AE8DD0
analogous
#D0CF8D #AFD08D #8DD08D
triadic
#AFD08D #8DAFD0 #D08DAF
tetradic
#AFD08D #8DD0CF #AE8DD0 #D08D8D
square
#AFD08D #8DD0CF #AE8DD0 #D08D8D
split-complementary
#AFD08D #8D8DD0 #CF8DD0
monochromatic
#72A042 #91BE62 #AFD08D #CDE2B8 #ECF4E4

Accessibility & contrast

On white

1.72
#AFD08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#AFD08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD08D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD08D#FFFFFF#000000##000000
##AFD08D1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C789
Deuteranopia (green-blind)
#D1C590
Tritanopia (blue-blind)
#B1CABF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd08d;
/* rgb */ color: rgb(175, 208, 141);
/* oklch */ color: oklch(81.7% 0.097 129.6);
Tailwind
colors: {
  custom: {
    50: '#c7deaf',
    500: '#afd08d',
    950: '#000000',
  },
}
SCSS
$custom: #afd08d;
$custom-light: #c7deaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afd08d",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 141
  },
  "hsl": {
    "h": 89.552,
    "s": 41.615,
    "l": 68.431
  },
  "oklch": {
    "l": 0.81697,
    "c": 0.09656,
    "h": 129.6
  },
  "luminance": 0.56149
}

Semantic roles & 50–950 ramp

primary
#AFD08D
secondary
#805CA5
accent
#31B572
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD08D

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

Preview Lab → · Contrast checker → · Palette generator →

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