#AFE08D#AFE08D

#AFE08D is a very light, vivid yellow-green. Relative luminance 0.643; OKLCH L 85.3% C 0.121 H 133.3°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#AFE08D
RGBrgb(175, 224, 141)
HSLhsl(95, 57%, 72%)
HSVhsv(95, 37%, 88%)
CMYKcmyk(21.9%, 0%, 37.1%, 12.2%)
CIE-LABlab(84.15, -30.36, 35.63)
CIE-LCHlch(84.15, 46.81, 130.44°)
OKLaboklab(85.27% -0.083 0.0881)
OKLCHoklch(85.27% 0.121 133.3)
XYZxyz(49.1415, 64.3473, 35.0253)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE08D #BE8DE0
analogous
#D8E08D #AFE08D #8DE095
triadic
#AFE08D #8DAFE0 #E08DAF
tetradic
#AFE08D #8DD8E0 #BE8DE0 #E0958D
square
#AFE08D #8DD8E0 #BE8DE0 #E0958D
split-complementary
#AFE08D #958DE0 #E08DD8
monochromatic
#6DBF34 #8DD35D #AFE08D #D1EDBD #EEF8E7

Accessibility & contrast

On white

1.51
#AFE08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#AFE08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE08D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE08D#FFFFFF#000000##000000
##AFE08D1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D487
Deuteranopia (green-blind)
#DFD091
Tritanopia (blue-blind)
#B0DACB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe08d;
/* rgb */ color: rgb(175, 224, 141);
/* oklch */ color: oklch(85.3% 0.121 133.3);
Tailwind
colors: {
  custom: {
    50: '#c8eaaf',
    500: '#afe08d',
    950: '#000000',
  },
}
SCSS
$custom: #afe08d;
$custom-light: #c8eaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afe08d",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 141
  },
  "hsl": {
    "h": 95.422,
    "s": 57.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85269,
    "c": 0.12107,
    "h": 133.3
  },
  "luminance": 0.64348
}

Semantic roles & 50–950 ramp

primary
#AFE08D
secondary
#9159B8
accent
#21C582
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE08D

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

Preview Lab → · Contrast checker → · Palette generator →

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