#AFD18D#AFD18D

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

Color values

HEX#AFD18D
RGBrgb(175, 209, 141)
HSLhsl(90, 43%, 69%)
HSVhsv(90, 33%, 82%)
CMYKcmyk(16.3%, 0%, 32.5%, 18%)
CIE-LABlab(79.98, -23.16, 30.13)
CIE-LCHlch(79.98, 38.01, 127.55°)
OKLaboklab(81.92% -0.063 0.0752)
OKLCHoklch(81.92% 0.098 129.9)
XYZxyz(45.2866, 56.6374, 33.7404)
Luminance0.5664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD18D #AF8DD1
analogous
#D1D18D #AFD18D #8DD18D
triadic
#AFD18D #8DAFD1 #D18DAF
tetradic
#AFD18D #8DD1D1 #AF8DD1 #D18D8D
square
#AFD18D #8DD1D1 #AF8DD1 #D18D8D
split-complementary
#AFD18D #8D8DD1 #D18DD1
monochromatic
#72A241 #90BF61 #AFD18D #CEE3B9 #ECF4E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD18D#FFFFFF#000000##000000
##AFD18D1.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)
#D7C888
Deuteranopia (green-blind)
#D2C590
Tritanopia (blue-blind)
#B1CBBF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd18d;
/* rgb */ color: rgb(175, 209, 141);
/* oklch */ color: oklch(81.9% 0.098 129.9);
Tailwind
colors: {
  custom: {
    50: '#c7dfaf',
    500: '#afd18d',
    950: '#000000',
  },
}
SCSS
$custom: #afd18d;
$custom-light: #c7dfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afd18d",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 141
  },
  "hsl": {
    "h": 90,
    "s": 42.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.81919,
    "c": 0.09811,
    "h": 129.9
  },
  "luminance": 0.56638
}

Semantic roles & 50–950 ramp

primary
#AFD18D
secondary
#815CA7
accent
#30B673
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD18D

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

Preview Lab → · Contrast checker → · Palette generator →

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