#AFE682#AFE682

#AFE682 is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.4% C 0.142 H 132.3°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#AFE682
RGBrgb(175, 230, 130)
HSLhsl(93, 67%, 71%)
HSVhsv(93, 43%, 90%)
CMYKcmyk(23.9%, 0%, 43.5%, 9.8%)
CIE-LABlab(85.66, -34.57, 43.04)
CIE-LCHlch(85.66, 55.21, 128.77°)
OKLaboklab(86.44% -0.0952 0.1047)
OKLCHoklch(86.44% 0.142 132.3)
XYZxyz(50.0044, 67.3181, 31.4739)
Luminance0.6732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE682 #B982E6
analogous
#E1E682 #AFE682 #82E687
triadic
#AFE682 #82AFE6 #E682AF
tetradic
#AFE682 #82E1E6 #B982E6 #E68782
square
#AFE682 #82E1E6 #B982E6 #E68782
split-complementary
#AFE682 #8782E6 #E682E1
monochromatic
#6FC628 #8EDC4F #AFE682 #D0F0B5 #EFFAE5

Accessibility & contrast

On white

1.45
#AFE682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#AFE682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE682
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE682#FFFFFF#000000##000000
##AFE6821.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED97A
Deuteranopia (green-blind)
#E6D588
Tritanopia (blue-blind)
#B1DFCE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe682;
/* rgb */ color: rgb(175, 230, 130);
/* oklch */ color: oklch(86.4% 0.142 132.3);
Tailwind
colors: {
  custom: {
    50: '#c9eea8',
    500: '#afe682',
    950: '#000000',
  },
}
SCSS
$custom: #afe682;
$custom-light: #c9eea8;
$custom-dark: #000000;
JSON
{
  "hex": "#afe682",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 130
  },
  "hsl": {
    "h": 93,
    "s": 66.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86441,
    "c": 0.14151,
    "h": 132.3
  },
  "luminance": 0.67319
}

Semantic roles & 50–950 ramp

primary
#AFE682
secondary
#8C4EBF
accent
#17CF7C
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131610
muted
#838580

Preview Lab

Preview with #AFE682

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

Preview Lab → · Contrast checker → · Palette generator →

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