#AFD18E#AFD18E

#AFD18E is a light, moderate yellow-green. Relative luminance 0.567; OKLCH L 81.9% C 0.097 H 130.2°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#AFD18E
RGBrgb(175, 209, 142)
HSLhsl(90, 42%, 69%)
HSVhsv(90, 32%, 82%)
CMYKcmyk(16.3%, 0%, 32.1%, 18%)
CIE-LABlab(79.99, -23.02, 29.64)
CIE-LCHlch(79.99, 37.53, 127.84°)
OKLaboklab(81.94% -0.0625 0.0741)
OKLCHoklch(81.94% 0.097 130.2)
XYZxyz(45.3613, 56.6673, 34.1340)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD18E #B08ED1
analogous
#D1D18E #AFD18E #8ED18F
triadic
#AFD18E #8EAFD1 #D18EAF
tetradic
#AFD18E #8ED1D1 #B08ED1 #D18F8E
square
#AFD18E #8ED1D1 #B08ED1 #D18F8E
split-complementary
#AFD18E #8F8ED1 #D18ED1
monochromatic
#72A242 #90BF63 #AFD18E #CEE3B9 #EDF4E5

Accessibility & contrast

On white

1.70
#AFD18E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#AFD18E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD18E
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD18E#FFFFFF#000000##000000
##AFD18E1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88A
Deuteranopia (green-blind)
#D2C691
Tritanopia (blue-blind)
#B1CBC0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd18e;
/* rgb */ color: rgb(175, 209, 142);
/* oklch */ color: oklch(81.9% 0.097 130.2);
Tailwind
colors: {
  custom: {
    50: '#c7dfaf',
    500: '#afd18e',
    950: '#000000',
  },
}
SCSS
$custom: #afd18e;
$custom-light: #c7dfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afd18e",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 142
  },
  "hsl": {
    "h": 90.448,
    "s": 42.138,
    "l": 68.824
  },
  "oklch": {
    "l": 0.81938,
    "c": 0.09696,
    "h": 130.2
  },
  "luminance": 0.56668
}

Semantic roles & 50–950 ramp

primary
#AFD18E
secondary
#825DA7
accent
#30B574
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD18E

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

Preview Lab → · Contrast checker → · Palette generator →

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