#AFE582#AFE582

#AFE582 is a very light, vivid yellow-green. Relative luminance 0.668; OKLCH L 86.2% C 0.140 H 132.1°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#AFE582
RGBrgb(175, 229, 130)
HSLhsl(93, 66%, 70%)
HSVhsv(93, 43%, 90%)
CMYKcmyk(23.6%, 0%, 43.2%, 10.2%)
CIE-LABlab(85.38, -34.11, 42.69)
CIE-LCHlch(85.38, 54.64, 128.62°)
OKLaboklab(86.22% -0.0939 0.1039)
OKLCHoklch(86.22% 0.14 132.1)
XYZxyz(49.7269, 66.7631, 31.3814)
Luminance0.6676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE582 #B882E5
analogous
#E1E582 #AFE582 #82E586
triadic
#AFE582 #82AFE5 #E582AF
tetradic
#AFE582 #82E1E5 #B882E5 #E58682
square
#AFE582 #82E1E5 #B882E5 #E58682
split-complementary
#AFE582 #8682E5 #E582E1
monochromatic
#6FC429 #8FDA4F #AFE582 #CFF0B5 #EFFAE6

Accessibility & contrast

On white

1.46
#AFE582 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#AFE582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE582
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE582#FFFFFF#000000##000000
##AFE5821.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD87A
Deuteranopia (green-blind)
#E5D488
Tritanopia (blue-blind)
#B1DECD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe582;
/* rgb */ color: rgb(175, 229, 130);
/* oklch */ color: oklch(86.2% 0.140 132.1);
Tailwind
colors: {
  custom: {
    50: '#c9eda8',
    500: '#afe582',
    950: '#000000',
  },
}
SCSS
$custom: #afe582;
$custom-light: #c9eda8;
$custom-dark: #000000;
JSON
{
  "hex": "#afe582",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 130
  },
  "hsl": {
    "h": 92.727,
    "s": 65.563,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86215,
    "c": 0.14006,
    "h": 132.1
  },
  "luminance": 0.66764
}

Semantic roles & 50–950 ramp

primary
#AFE582
secondary
#8B4EBD
accent
#18CD7B
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131610
muted
#838580

Preview Lab

Preview with #AFE582

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

Preview Lab → · Contrast checker → · Palette generator →

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