#AFD08E#AFD08E

#AFD08E is a light, moderate yellow-green. Relative luminance 0.562; OKLCH L 81.7% C 0.095 H 129.9°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#AFD08E
RGBrgb(175, 208, 142)
HSLhsl(90, 41%, 69%)
HSVhsv(90, 32%, 82%)
CMYKcmyk(15.9%, 0%, 31.7%, 18.4%)
CIE-LABlab(79.72, -22.53, 29.27)
CIE-LCHlch(79.72, 36.94, 127.59°)
OKLaboklab(81.72% -0.0612 0.0732)
OKLCHoklch(81.72% 0.095 129.9)
XYZxyz(45.1168, 56.1781, 34.0525)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD08E #AF8ED0
analogous
#D0D08E #AFD08E #8ED08E
triadic
#AFD08E #8EAFD0 #D08EAF
tetradic
#AFD08E #8ED0D0 #AF8ED0 #D08E8E
square
#AFD08E #8ED0D0 #AF8ED0 #D08E8E
split-complementary
#AFD08E #8E8ED0 #D08ED0
monochromatic
#72A143 #90BE63 #AFD08E #CEE2B9 #ECF4E4

Accessibility & contrast

On white

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

On black

12.24
#AFD08E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD08E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD08E#FFFFFF#000000##000000
##AFD08E1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C78A
Deuteranopia (green-blind)
#D1C591
Tritanopia (blue-blind)
#B1CABF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd08e;
/* rgb */ color: rgb(175, 208, 142);
/* oklch */ color: oklch(81.7% 0.095 129.9);
Tailwind
colors: {
  custom: {
    50: '#c7deaf',
    500: '#afd08e',
    950: '#000000',
  },
}
SCSS
$custom: #afd08e;
$custom-light: #c7deaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afd08e",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 142
  },
  "hsl": {
    "h": 90,
    "s": 41.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.81717,
    "c": 0.09541,
    "h": 129.9
  },
  "luminance": 0.56179
}

Semantic roles & 50–950 ramp

primary
#AFD08E
secondary
#815DA5
accent
#31B473
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD08E

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

Preview Lab → · Contrast checker → · Palette generator →

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