#AFD682#AFD682

#AFD682 is a very light, moderate yellow-green. Relative luminance 0.588; OKLCH L 82.8% C 0.118 H 129.0°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#AFD682
RGBrgb(175, 214, 130)
HSLhsl(88, 51%, 67%)
HSVhsv(88, 39%, 84%)
CMYKcmyk(18.2%, 0%, 39.3%, 16.1%)
CIE-LABlab(81.19, -27.07, 37.35)
CIE-LCHlch(81.19, 46.12, 125.93°)
OKLaboklab(82.84% -0.0743 0.0917)
OKLCHoklch(82.84% 0.118 129)
XYZxyz(45.7544, 58.8182, 30.0573)
Luminance0.5882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD682 #A982D6
analogous
#D6D382 #AFD682 #85D682
triadic
#AFD682 #82AFD6 #D682AF
tetradic
#AFD682 #82D6D3 #A982D6 #D68285
square
#AFD682 #82D6D3 #A982D6 #D68285
split-complementary
#AFD682 #8285D6 #D382D6
monochromatic
#73A737 #92C754 #AFD682 #CCE5B0 #EAF4DE

Accessibility & contrast

On white

1.65
#AFD682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#AFD682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD682
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD682#FFFFFF#000000##000000
##AFD6821.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB7C
Deuteranopia (green-blind)
#D8C986
Tritanopia (blue-blind)
#B2CFC1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd682;
/* rgb */ color: rgb(175, 214, 130);
/* oklch */ color: oklch(82.8% 0.118 129.0);
Tailwind
colors: {
  custom: {
    50: '#c8e2a7',
    500: '#afd682',
    950: '#000000',
  },
}
SCSS
$custom: #afd682;
$custom-light: #c8e2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afd682",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 130
  },
  "hsl": {
    "h": 87.857,
    "s": 50.602,
    "l": 67.451
  },
  "oklch": {
    "l": 0.82839,
    "c": 0.11802,
    "h": 129
  },
  "luminance": 0.58819
}

Semantic roles & 50–950 ramp

primary
#AFD682
secondary
#7B51AB
accent
#28BE6D
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD682

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

Preview Lab → · Contrast checker → · Palette generator →

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