#AFE18D#AFE18D

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

Color values

HEX#AFE18D
RGBrgb(175, 225, 141)
HSLhsl(96, 58%, 72%)
HSVhsv(96, 37%, 88%)
CMYKcmyk(22.2%, 0%, 37.3%, 11.8%)
CIE-LABlab(84.43, -30.83, 35.99)
CIE-LCHlch(84.43, 47.39, 130.58°)
OKLaboklab(85.49% -0.0843 0.089)
OKLCHoklch(85.49% 0.123 133.5)
XYZxyz(49.4111, 64.8863, 35.1152)
Luminance0.6489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE18D #BF8DE1
analogous
#D9E18D #AFE18D #8DE195
triadic
#AFE18D #8DAFE1 #E18DAF
tetradic
#AFE18D #8DD9E1 #BF8DE1 #E1958D
square
#AFE18D #8DD9E1 #BF8DE1 #E1958D
split-complementary
#AFE18D #958DE1 #E18DD9
monochromatic
#6CC133 #8DD45D #AFE18D #D1EEBD #EEF9E7

Accessibility & contrast

On white

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

On black

13.98
#AFE18D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE18D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE18D#FFFFFF#000000##000000
##AFE18D1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D587
Deuteranopia (green-blind)
#E0D192
Tritanopia (blue-blind)
#B0DBCC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe18d;
/* rgb */ color: rgb(175, 225, 141);
/* oklch */ color: oklch(85.5% 0.123 133.5);
Tailwind
colors: {
  custom: {
    50: '#c8eaaf',
    500: '#afe18d',
    950: '#000000',
  },
}
SCSS
$custom: #afe18d;
$custom-light: #c8eaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afe18d",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 141
  },
  "hsl": {
    "h": 95.714,
    "s": 58.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85494,
    "c": 0.12259,
    "h": 133.5
  },
  "luminance": 0.64887
}

Semantic roles & 50–950 ramp

primary
#AFE18D
secondary
#9259B9
accent
#20C683
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE18D

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

Preview Lab → · Contrast checker → · Palette generator →

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