#AFE48E#AFE48E

#AFE48E is a very light, vivid yellow-green. Relative luminance 0.666; OKLCH L 86.2% C 0.126 H 134.2°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#AFE48E
RGBrgb(175, 228, 142)
HSLhsl(97, 61%, 73%)
HSVhsv(97, 38%, 89%)
CMYKcmyk(23.2%, 0%, 37.7%, 10.6%)
CIE-LABlab(85.28, -32.10, 36.60)
CIE-LCHlch(85.28, 48.68, 131.25°)
OKLaboklab(86.19% -0.0878 0.0904)
OKLCHoklch(86.19% 0.126 134.2)
XYZxyz(50.3040, 66.5525, 35.7815)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE48E #C38EE4
analogous
#DAE48E #AFE48E #8EE498
triadic
#AFE48E #8EAFE4 #E48EAF
tetradic
#AFE48E #8EDAE4 #C38EE4 #E4988E
square
#AFE48E #8EDAE4 #C38EE4 #E4988E
split-complementary
#AFE48E #988EE4 #E48EDA
monochromatic
#6AC830 #8CD85D #AFE48E #D2F0BF #EEF9E6

Accessibility & contrast

On white

1.47
#AFE48E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#AFE48E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE48E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE48E#FFFFFF#000000##000000
##AFE48E1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD888
Deuteranopia (green-blind)
#E2D393
Tritanopia (blue-blind)
#AFDECF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe48e;
/* rgb */ color: rgb(175, 228, 142);
/* oklch */ color: oklch(86.2% 0.126 134.2);
Tailwind
colors: {
  custom: {
    50: '#c8ecb0',
    500: '#afe48e',
    950: '#000000',
  },
}
SCSS
$custom: #afe48e;
$custom-light: #c8ecb0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe48e",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 142
  },
  "hsl": {
    "h": 96.977,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.86185,
    "c": 0.12603,
    "h": 134.2
  },
  "luminance": 0.66554
}

Semantic roles & 50–950 ramp

primary
#AFE48E
secondary
#9759BD
accent
#1CC987
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE48E

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

Preview Lab → · Contrast checker → · Palette generator →

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