#AFE08C#AFE08C

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

Color values

HEX#AFE08C
RGBrgb(175, 224, 140)
HSLhsl(95, 58%, 71%)
HSVhsv(95, 38%, 88%)
CMYKcmyk(21.9%, 0%, 37.5%, 12.2%)
CIE-LABlab(84.13, -30.50, 36.11)
CIE-LCHlch(84.13, 47.27, 130.18°)
OKLaboklab(85.25% -0.0834 0.0892)
OKLCHoklch(85.25% 0.122 133.1)
XYZxyz(49.0675, 64.3176, 34.6352)
Luminance0.6432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE08C #BD8CE0
analogous
#D9E08C #AFE08C #8CE093
triadic
#AFE08C #8CAFE0 #E08CAF
tetradic
#AFE08C #8CD9E0 #BD8CE0 #E0938C
square
#AFE08C #8CD9E0 #BD8CE0 #E0938C
split-complementary
#AFE08C #938CE0 #E08CD9
monochromatic
#6DBE33 #8DD35C #AFE08C #D1EDBC #EEF9E7

Accessibility & contrast

On white

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

On black

13.86
#AFE08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE08C
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE08C#FFFFFF#000000##000000
##AFE08C1.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe08c;
/* rgb */ color: rgb(175, 224, 140);
/* oklch */ color: oklch(85.3% 0.122 133.1);
Tailwind
colors: {
  custom: {
    50: '#c8eaae',
    500: '#afe08c',
    950: '#000000',
  },
}
SCSS
$custom: #afe08c;
$custom-light: #c8eaae;
$custom-dark: #000000;
JSON
{
  "hex": "#afe08c",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 140
  },
  "hsl": {
    "h": 95,
    "s": 57.534,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85252,
    "c": 0.12214,
    "h": 133.1
  },
  "luminance": 0.64319
}

Semantic roles & 50–950 ramp

primary
#AFE08C
secondary
#9058B8
accent
#20C580
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE08C

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

Preview Lab → · Contrast checker → · Palette generator →

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