#AFD882#AFD882

#AFD882 is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 83.3% C 0.121 H 129.5°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#AFD882
RGBrgb(175, 216, 130)
HSLhsl(89, 52%, 68%)
HSVhsv(89, 40%, 85%)
CMYKcmyk(19%, 0%, 39.8%, 15.3%)
CIE-LABlab(81.75, -28.02, 38.06)
CIE-LCHlch(81.75, 47.27, 126.36°)
OKLaboklab(83.29% -0.0769 0.0934)
OKLCHoklch(83.29% 0.121 129.5)
XYZxyz(46.2637, 59.8367, 30.2270)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD882 #AB82D8
analogous
#D8D682 #AFD882 #84D882
triadic
#AFD882 #82AFD8 #D882AF
tetradic
#AFD882 #82D8D6 #AB82D8 #D88284
square
#AFD882 #82D8D6 #AB82D8 #D88284
split-complementary
#AFD882 #8284D8 #D682D8
monochromatic
#73AA35 #91C953 #AFD882 #CDE7B1 #EBF5DF

Accessibility & contrast

On white

1.62
#AFD882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#AFD882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD882
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD882#FFFFFF#000000##000000
##AFD8821.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD7C
Deuteranopia (green-blind)
#DACA87
Tritanopia (blue-blind)
#B2D1C3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd882;
/* rgb */ color: rgb(175, 216, 130);
/* oklch */ color: oklch(83.3% 0.121 129.5);
Tailwind
colors: {
  custom: {
    50: '#c8e4a7',
    500: '#afd882',
    950: '#000000',
  },
}
SCSS
$custom: #afd882;
$custom-light: #c8e4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afd882",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 130
  },
  "hsl": {
    "h": 88.605,
    "s": 52.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83287,
    "c": 0.12099,
    "h": 129.5
  },
  "luminance": 0.59837
}

Semantic roles & 50–950 ramp

primary
#AFD882
secondary
#7D50AE
accent
#26C06F
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD882

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

Preview Lab → · Contrast checker → · Palette generator →

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