#AFE18C#AFE18C

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

Color values

HEX#AFE18C
RGBrgb(175, 225, 140)
HSLhsl(95, 59%, 72%)
HSVhsv(95, 38%, 88%)
CMYKcmyk(22.2%, 0%, 37.8%, 11.8%)
CIE-LABlab(84.41, -30.97, 36.48)
CIE-LCHlch(84.41, 47.85, 130.33°)
OKLaboklab(85.48% -0.0847 0.0901)
OKLCHoklch(85.48% 0.124 133.2)
XYZxyz(49.3370, 64.8567, 34.7251)
Luminance0.6486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE18C #BE8CE1
analogous
#DAE18C #AFE18C #8CE194
triadic
#AFE18C #8CAFE1 #E18CAF
tetradic
#AFE18C #8CDAE1 #BE8CE1 #E1948C
square
#AFE18C #8CDAE1 #BE8CE1 #E1948C
split-complementary
#AFE18C #948CE1 #E18CDA
monochromatic
#6DC032 #8DD45B #AFE18C #D1EEBD #EEF9E7

Accessibility & contrast

On white

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

On black

13.97
#AFE18C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE18C
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE18C#FFFFFF#000000##000000
##AFE18C1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe18c;
/* rgb */ color: rgb(175, 225, 140);
/* oklch */ color: oklch(85.5% 0.124 133.2);
Tailwind
colors: {
  custom: {
    50: '#c8eaae',
    500: '#afe18c',
    950: '#000000',
  },
}
SCSS
$custom: #afe18c;
$custom-light: #c8eaae;
$custom-dark: #000000;
JSON
{
  "hex": "#afe18c",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 140
  },
  "hsl": {
    "h": 95.294,
    "s": 58.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85477,
    "c": 0.12366,
    "h": 133.2
  },
  "luminance": 0.64858
}

Semantic roles & 50–950 ramp

primary
#AFE18C
secondary
#9158B9
accent
#1FC681
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE18C

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

Preview Lab → · Contrast checker → · Palette generator →

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