#AFD188#AFD188

#AFD188 is a light, moderate yellow-green. Relative luminance 0.565; OKLCH L 81.8% C 0.104 H 128.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#AFD188
RGBrgb(175, 209, 136)
HSLhsl(88, 44%, 68%)
HSVhsv(88, 35%, 82%)
CMYKcmyk(16.3%, 0%, 34.9%, 18%)
CIE-LABlab(79.89, -23.86, 32.60)
CIE-LCHlch(79.89, 40.40, 126.19°)
OKLaboklab(81.83% -0.065 0.0809)
OKLCHoklch(81.83% 0.104 128.8)
XYZxyz(44.9229, 56.4919, 31.8251)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD188 #AA88D1
analogous
#D1CE88 #AFD188 #8BD188
triadic
#AFD188 #88AFD1 #D188AF
tetradic
#AFD188 #88D1CE #AA88D1 #D1888B
square
#AFD188 #88D1CE #AA88D1 #D1888B
split-complementary
#AFD188 #888BD1 #CE88D1
monochromatic
#73A13E #91C05C #AFD188 #CDE2B4 #EAF3E0

Accessibility & contrast

On white

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

On black

12.30
#AFD188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD188
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD188#FFFFFF#000000##000000
##AFD1881.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C883
Deuteranopia (green-blind)
#D3C58C
Tritanopia (blue-blind)
#B2CBBE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd188;
/* rgb */ color: rgb(175, 209, 136);
/* oklch */ color: oklch(81.8% 0.104 128.8);
Tailwind
colors: {
  custom: {
    50: '#c8dfab',
    500: '#afd188',
    950: '#000000',
  },
}
SCSS
$custom: #afd188;
$custom-light: #c8dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#afd188",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 136
  },
  "hsl": {
    "h": 87.945,
    "s": 44.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.81827,
    "c": 0.10383,
    "h": 128.8
  },
  "luminance": 0.56492
}

Semantic roles & 50–950 ramp

primary
#AFD188
secondary
#7C57A6
accent
#2EB76E
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD188

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

Preview Lab → · Contrast checker → · Palette generator →

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