#AFE18F#AFE18F

#AFE18F is a very light, vivid yellow-green. Relative luminance 0.649; OKLCH L 85.5% C 0.120 H 133.9°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#AFE18F
RGBrgb(175, 225, 143)
HSLhsl(97, 58%, 72%)
HSVhsv(97, 36%, 88%)
CMYKcmyk(22.2%, 0%, 36.4%, 11.8%)
CIE-LABlab(84.46, -30.56, 35.02)
CIE-LCHlch(84.46, 46.48, 131.10°)
OKLaboklab(85.53% -0.0835 0.0868)
OKLCHoklch(85.53% 0.12 133.9)
XYZxyz(49.5612, 64.9464, 35.9060)
Luminance0.6495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE18F #C18FE1
analogous
#D8E18F #AFE18F #8FE198
triadic
#AFE18F #8FAFE1 #E18FAF
tetradic
#AFE18F #8FD8E1 #C18FE1 #E1988F
square
#AFE18F #8FD8E1 #C18FE1 #E1988F
split-complementary
#AFE18F #988FE1 #E18FD8
monochromatic
#6BC234 #8DD45F #AFE18F #D1EEBF #EEF9E7

Accessibility & contrast

On white

1.50
#AFE18F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#AFE18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE18F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE18F#FFFFFF#000000##000000
##AFE18F1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D589
Deuteranopia (green-blind)
#E0D193
Tritanopia (blue-blind)
#AFDBCC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe18f;
/* rgb */ color: rgb(175, 225, 143);
/* oklch */ color: oklch(85.5% 0.120 133.9);
Tailwind
colors: {
  custom: {
    50: '#c8eab0',
    500: '#afe18f',
    950: '#000000',
  },
}
SCSS
$custom: #afe18f;
$custom-light: #c8eab0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe18f",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 143
  },
  "hsl": {
    "h": 96.585,
    "s": 57.746,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85529,
    "c": 0.12043,
    "h": 133.9
  },
  "luminance": 0.64948
}

Semantic roles & 50–950 ramp

primary
#AFE18F
secondary
#945BB9
accent
#20C585
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE18F

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

Preview Lab → · Contrast checker → · Palette generator →

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