#AFE08B#AFE08B

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

Color values

HEX#AFE08B
RGBrgb(175, 224, 139)
HSLhsl(95, 58%, 71%)
HSVhsv(95, 38%, 88%)
CMYKcmyk(21.9%, 0%, 37.9%, 12.2%)
CIE-LABlab(84.12, -30.63, 36.60)
CIE-LCHlch(84.12, 47.72, 129.93°)
OKLaboklab(85.24% -0.0838 0.0903)
OKLCHoklch(85.24% 0.123 132.9)
XYZxyz(48.9941, 64.2883, 34.2487)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE08B #BC8BE0
analogous
#D9E08B #AFE08B #8BE091
triadic
#AFE08B #8BAFE0 #E08BAF
tetradic
#AFE08B #8BD9E0 #BC8BE0 #E0918B
square
#AFE08B #8BD9E0 #BC8BE0 #E0918B
split-complementary
#AFE08B #918BE0 #E08BD9
monochromatic
#6EBE33 #8ED35B #AFE08B #D0EDBB #EEF9E7

Accessibility & contrast

On white

1.52
#AFE08B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE08B#FFFFFF#000000##000000
##AFE08B1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe08b;
/* rgb */ color: rgb(175, 224, 139);
/* oklch */ color: oklch(85.2% 0.123 132.9);
Tailwind
colors: {
  custom: {
    50: '#c8eaae',
    500: '#afe08b',
    950: '#000000',
  },
}
SCSS
$custom: #afe08b;
$custom-light: #c8eaae;
$custom-dark: #000000;
JSON
{
  "hex": "#afe08b",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 139
  },
  "hsl": {
    "h": 94.588,
    "s": 57.823,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85235,
    "c": 0.12322,
    "h": 132.9
  },
  "luminance": 0.64289
}

Semantic roles & 50–950 ramp

primary
#AFE08B
secondary
#8F57B8
accent
#20C57F
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE08B

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

Preview Lab → · Contrast checker → · Palette generator →

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