#AFE782#AFE782

#AFE782 is a very light, vivid yellow-green. Relative luminance 0.679; OKLCH L 86.7% C 0.143 H 132.4°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#AFE782
RGBrgb(175, 231, 130)
HSLhsl(93, 68%, 71%)
HSVhsv(93, 44%, 91%)
CMYKcmyk(24.2%, 0%, 43.7%, 9.4%)
CIE-LABlab(85.94, -35.03, 43.40)
CIE-LCHlch(85.94, 55.77, 128.91°)
OKLaboklab(86.67% -0.0964 0.1055)
OKLCHoklch(86.67% 0.143 132.4)
XYZxyz(50.2835, 67.8762, 31.5669)
Luminance0.6788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE782 #BA82E7
analogous
#E2E782 #AFE782 #82E787
triadic
#AFE782 #82AFE7 #E782AF
tetradic
#AFE782 #82E2E7 #BA82E7 #E78782
square
#AFE782 #82E2E7 #BA82E7 #E78782
split-complementary
#AFE782 #8782E7 #E782E2
monochromatic
#6EC826 #8EDD4F #AFE782 #D0F1B5 #EFFAE5

Accessibility & contrast

On white

1.44
#AFE782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#AFE782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE782
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE782#FFFFFF#000000##000000
##AFE7821.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA7A
Deuteranopia (green-blind)
#E6D588
Tritanopia (blue-blind)
#B1E0CF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe782;
/* rgb */ color: rgb(175, 231, 130);
/* oklch */ color: oklch(86.7% 0.143 132.4);
Tailwind
colors: {
  custom: {
    50: '#c9efa8',
    500: '#afe782',
    950: '#000000',
  },
}
SCSS
$custom: #afe782;
$custom-light: #c9efa8;
$custom-dark: #000000;
JSON
{
  "hex": "#afe782",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 130
  },
  "hsl": {
    "h": 93.267,
    "s": 67.785,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86667,
    "c": 0.14296,
    "h": 132.4
  },
  "luminance": 0.67877
}

Semantic roles & 50–950 ramp

primary
#AFE782
secondary
#8D4DC0
accent
#16D07D
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131610
muted
#838580

Preview Lab

Preview with #AFE782

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

Preview Lab → · Contrast checker → · Palette generator →

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