#AFE08F#AFE08F

#AFE08F is a very light, moderate yellow-green. Relative luminance 0.644; OKLCH L 85.3% C 0.119 H 133.7°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#AFE08F
RGBrgb(175, 224, 143)
HSLhsl(96, 57%, 72%)
HSVhsv(96, 36%, 88%)
CMYKcmyk(21.9%, 0%, 36.2%, 12.2%)
CIE-LABlab(84.18, -30.09, 34.66)
CIE-LCHlch(84.18, 45.90, 130.96°)
OKLaboklab(85.31% -0.0822 0.0859)
OKLCHoklch(85.31% 0.119 133.7)
XYZxyz(49.2917, 64.4073, 35.8161)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE08F #C08FE0
analogous
#D8E08F #AFE08F #8FE098
triadic
#AFE08F #8FAFE0 #E08FAF
tetradic
#AFE08F #8FD8E0 #C08FE0 #E0988F
square
#AFE08F #8FD8E0 #C08FE0 #E0988F
split-complementary
#AFE08F #988FE0 #E08FD8
monochromatic
#6CC035 #8DD35F #AFE08F #D1EDBF #EEF8E7

Accessibility & contrast

On white

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

On black

13.88
#AFE08F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE08F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE08F#FFFFFF#000000##000000
##AFE08F1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D589
Deuteranopia (green-blind)
#DFD193
Tritanopia (blue-blind)
#B0DACC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe08f;
/* rgb */ color: rgb(175, 224, 143);
/* oklch */ color: oklch(85.3% 0.119 133.7);
Tailwind
colors: {
  custom: {
    50: '#c8eab0',
    500: '#afe08f',
    950: '#000000',
  },
}
SCSS
$custom: #afe08f;
$custom-light: #c8eab0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe08f",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 143
  },
  "hsl": {
    "h": 96.296,
    "s": 56.643,
    "l": 71.961
  },
  "oklch": {
    "l": 0.85305,
    "c": 0.11891,
    "h": 133.7
  },
  "luminance": 0.64408
}

Semantic roles & 50–950 ramp

primary
#AFE08F
secondary
#935BB8
accent
#21C484
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE08F

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

Preview Lab → · Contrast checker → · Palette generator →

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