#AFD182#AFD182

#AFD182 is a light, moderate yellow-green. Relative luminance 0.563; OKLCH L 81.7% C 0.111 H 127.6°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#AFD182
RGBrgb(175, 209, 130)
HSLhsl(86, 46%, 66%)
HSVhsv(86, 38%, 82%)
CMYKcmyk(16.3%, 0%, 37.8%, 18%)
CIE-LABlab(79.80, -24.65, 35.55)
CIE-LCHlch(79.80, 43.26, 124.74°)
OKLaboklab(81.72% -0.0675 0.0876)
OKLCHoklch(81.72% 0.111 127.6)
XYZxyz(44.5084, 56.3261, 29.6419)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD182 #A482D1
analogous
#D1CC82 #AFD182 #88D182
triadic
#AFD182 #82AFD1 #D182AF
tetradic
#AFD182 #82D1CC #A482D1 #D18288
square
#AFD182 #82D1CC #A482D1 #D18288
split-complementary
#AFD182 #8288D1 #CC82D1
monochromatic
#739E3A #92C155 #AFD182 #CCE1AF #E8F2DB

Accessibility & contrast

On white

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

On black

12.27
#AFD182 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD182
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD182#FFFFFF#000000##000000
##AFD1821.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77C
Deuteranopia (green-blind)
#D4C586
Tritanopia (blue-blind)
#B3CABD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd182;
/* rgb */ color: rgb(175, 209, 130);
/* oklch */ color: oklch(81.7% 0.111 127.6);
Tailwind
colors: {
  custom: {
    50: '#c8dfa7',
    500: '#afd182',
    950: '#000000',
  },
}
SCSS
$custom: #afd182;
$custom-light: #c8dfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#afd182",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 130
  },
  "hsl": {
    "h": 85.823,
    "s": 46.199,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8172,
    "c": 0.11059,
    "h": 127.6
  },
  "luminance": 0.56327
}

Semantic roles & 50–950 ramp

primary
#AFD182
secondary
#7654A4
accent
#2CB969
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD182

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

Preview Lab → · Contrast checker → · Palette generator →

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