#AFD18B#AFD18B

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

Color values

HEX#AFD18B
RGBrgb(175, 209, 139)
HSLhsl(89, 43%, 68%)
HSVhsv(89, 33%, 82%)
CMYKcmyk(16.3%, 0%, 33.5%, 18%)
CIE-LABlab(79.94, -23.44, 31.12)
CIE-LCHlch(79.94, 38.97, 126.99°)
OKLaboklab(81.88% -0.0638 0.0775)
OKLCHoklch(81.88% 0.1 129.4)
XYZxyz(45.1391, 56.5784, 32.9637)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD18B #AD8BD1
analogous
#D1D08B #AFD18B #8CD18B
triadic
#AFD18B #8BAFD1 #D18BAF
tetradic
#AFD18B #8BD1D0 #AD8BD1 #D18B8C
square
#AFD18B #8BD1D0 #AD8BD1 #D18B8C
split-complementary
#AFD18B #8B8CD1 #D08BD1
monochromatic
#72A240 #91C05F #AFD18B #CDE2B7 #EBF4E3

Accessibility & contrast

On white

1.71
#AFD18B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#AFD18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD18B
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD18B#FFFFFF#000000##000000
##AFD18B1.001.7112.3212.32
#FFFFFF1.711.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C886
Deuteranopia (green-blind)
#D2C58E
Tritanopia (blue-blind)
#B2CBBF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd18b;
/* rgb */ color: rgb(175, 209, 139);
/* oklch */ color: oklch(81.9% 0.100 129.4);
Tailwind
colors: {
  custom: {
    50: '#c7dfad',
    500: '#afd18b',
    950: '#000000',
  },
}
SCSS
$custom: #afd18b;
$custom-light: #c7dfad;
$custom-dark: #000000;
JSON
{
  "hex": "#afd18b",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 139
  },
  "hsl": {
    "h": 89.143,
    "s": 43.21,
    "l": 68.235
  },
  "oklch": {
    "l": 0.81882,
    "c": 0.1004,
    "h": 129.4
  },
  "luminance": 0.56579
}

Semantic roles & 50–950 ramp

primary
#AFD18B
secondary
#7F5AA6
accent
#2FB671
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD18B

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

Preview Lab → · Contrast checker → · Palette generator →

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