#AFD684#AFD684

#AFD684 is a very light, moderate yellow-green. Relative luminance 0.589; OKLCH L 82.9% C 0.116 H 129.4°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#AFD684
RGBrgb(175, 214, 132)
HSLhsl(89, 50%, 68%)
HSVhsv(89, 38%, 84%)
CMYKcmyk(18.2%, 0%, 38.3%, 16.1%)
CIE-LABlab(81.22, -26.81, 36.38)
CIE-LCHlch(81.22, 45.19, 126.39°)
OKLaboklab(82.87% -0.0734 0.0896)
OKLCHoklch(82.87% 0.116 129.4)
XYZxyz(45.8900, 58.8724, 30.7711)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD684 #AB84D6
analogous
#D6D484 #AFD684 #86D684
triadic
#AFD684 #84AFD6 #D684AF
tetradic
#AFD684 #84D6D4 #AB84D6 #D68486
square
#AFD684 #84D6D4 #AB84D6 #D68486
split-complementary
#AFD684 #8486D6 #D484D6
monochromatic
#73A838 #91C756 #AFD684 #CDE5B2 #EBF5E0

Accessibility & contrast

On white

1.64
#AFD684 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#AFD684 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD684
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD684#FFFFFF#000000##000000
##AFD6841.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC7E
Deuteranopia (green-blind)
#D8C988
Tritanopia (blue-blind)
#B2CFC2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd684;
/* rgb */ color: rgb(175, 214, 132);
/* oklch */ color: oklch(82.9% 0.116 129.4);
Tailwind
colors: {
  custom: {
    50: '#c8e2a9',
    500: '#afd684',
    950: '#000000',
  },
}
SCSS
$custom: #afd684;
$custom-light: #c8e2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afd684",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 132
  },
  "hsl": {
    "h": 88.537,
    "s": 50,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82872,
    "c": 0.11583,
    "h": 129.4
  },
  "luminance": 0.58873
}

Semantic roles & 50–950 ramp

primary
#AFD684
secondary
#7D53AC
accent
#28BD6F
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#131510
muted
#828480

Preview Lab

Preview with #AFD684

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

Preview Lab → · Contrast checker → · Palette generator →

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