#AFDC82#AFDC82

#AFDC82 is a very light, vivid yellow-green. Relative luminance 0.619; OKLCH L 84.2% C 0.127 H 130.4°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#AFDC82
RGBrgb(175, 220, 130)
HSLhsl(90, 56%, 69%)
HSVhsv(90, 41%, 86%)
CMYKcmyk(20.5%, 0%, 40.9%, 13.7%)
CIE-LABlab(82.87, -29.92, 39.49)
CIE-LCHlch(82.87, 49.55, 127.14°)
OKLaboklab(84.19% -0.0822 0.0967)
OKLCHoklch(84.19% 0.127 130.4)
XYZxyz(47.3010, 61.9112, 30.5728)
Luminance0.6191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC82 #AF82DC
analogous
#DCDC82 #AFDC82 #82DC82
triadic
#AFDC82 #82AFDC #DC82AF
tetradic
#AFDC82 #82DCDC #AF82DC #DC8282
square
#AFDC82 #82DCDC #AF82DC #DC8282
split-complementary
#AFDC82 #8282DC #DC82DC
monochromatic
#72B232 #90CF52 #AFDC82 #CEE9B2 #ECF7E2

Accessibility & contrast

On white

1.57
#AFDC82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#AFDC82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC82
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC82#FFFFFF#000000##000000
##AFDC821.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D07B
Deuteranopia (green-blind)
#DDCD87
Tritanopia (blue-blind)
#B2D5C6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdc82;
/* rgb */ color: rgb(175, 220, 130);
/* oklch */ color: oklch(84.2% 0.127 130.4);
Tailwind
colors: {
  custom: {
    50: '#c8e7a7',
    500: '#afdc82',
    950: '#000000',
  },
}
SCSS
$custom: #afdc82;
$custom-light: #c8e7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc82",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 130
  },
  "hsl": {
    "h": 90,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.84186,
    "c": 0.1269,
    "h": 130.4
  },
  "luminance": 0.61912
}

Semantic roles & 50–950 ramp

primary
#AFDC82
secondary
#8150B3
accent
#22C473
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13160F
muted
#828480

Preview Lab

Preview with #AFDC82

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

Preview Lab → · Contrast checker → · Palette generator →

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