#AFD582#AFD582

#AFD582 is a very light, moderate yellow-green. Relative luminance 0.583; OKLCH L 82.6% C 0.117 H 128.7°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#AFD582
RGBrgb(175, 213, 130)
HSLhsl(87, 50%, 67%)
HSVhsv(87, 39%, 84%)
CMYKcmyk(17.8%, 0%, 39%, 16.5%)
CIE-LABlab(80.91, -26.59, 36.99)
CIE-LCHlch(80.91, 45.55, 125.71°)
OKLaboklab(82.62% -0.0729 0.0909)
OKLCHoklch(82.62% 0.117 128.7)
XYZxyz(45.5021, 58.3136, 29.9732)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD582 #A882D5
analogous
#D5D282 #AFD582 #85D582
triadic
#AFD582 #82AFD5 #D582AF
tetradic
#AFD582 #82D5D2 #A882D5 #D58285
square
#AFD582 #82D5D2 #A882D5 #D58285
split-complementary
#AFD582 #8285D5 #D282D5
monochromatic
#73A537 #92C654 #AFD582 #CCE4B0 #EAF4DE

Accessibility & contrast

On white

1.66
#AFD582 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#AFD582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD582
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD582#FFFFFF#000000##000000
##AFD5821.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB7C
Deuteranopia (green-blind)
#D7C886
Tritanopia (blue-blind)
#B2CEC0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd582;
/* rgb */ color: rgb(175, 213, 130);
/* oklch */ color: oklch(82.6% 0.117 128.7);
Tailwind
colors: {
  custom: {
    50: '#c8e2a7',
    500: '#afd582',
    950: '#000000',
  },
}
SCSS
$custom: #afd582;
$custom-light: #c8e2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afd582",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 130
  },
  "hsl": {
    "h": 87.47,
    "s": 49.701,
    "l": 67.255
  },
  "oklch": {
    "l": 0.82615,
    "c": 0.11654,
    "h": 128.7
  },
  "luminance": 0.58314
}

Semantic roles & 50–950 ramp

primary
#AFD582
secondary
#7A52A9
accent
#28BD6C
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD582

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

Preview Lab → · Contrast checker → · Palette generator →

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