#AFD586#AFD586

#AFD586 is a very light, moderate yellow-green. Relative luminance 0.584; OKLCH L 82.7% C 0.112 H 129.5°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#AFD586
RGBrgb(175, 213, 134)
HSLhsl(89, 48%, 68%)
HSVhsv(89, 37%, 84%)
CMYKcmyk(17.8%, 0%, 37.1%, 16.5%)
CIE-LABlab(80.97, -26.06, 35.04)
CIE-LCHlch(80.97, 43.67, 126.64°)
OKLaboklab(82.68% -0.0713 0.0865)
OKLCHoklch(82.68% 0.112 129.5)
XYZxyz(45.7759, 58.4230, 31.4147)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD586 #AC86D5
analogous
#D5D386 #AFD586 #87D586
triadic
#AFD586 #86AFD5 #D586AF
tetradic
#AFD586 #86D5D3 #AC86D5 #D58687
square
#AFD586 #86D5D3 #AC86D5 #D58687
split-complementary
#AFD586 #8687D5 #D386D5
monochromatic
#72A73A #91C559 #AFD586 #CDE5B3 #EBF5E1

Accessibility & contrast

On white

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

On black

12.68
#AFD586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD586
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD586#FFFFFF#000000##000000
##AFD5861.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCB80
Deuteranopia (green-blind)
#D6C88A
Tritanopia (blue-blind)
#B2CFC1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd586;
/* rgb */ color: rgb(175, 213, 134);
/* oklch */ color: oklch(82.7% 0.112 129.5);
Tailwind
colors: {
  custom: {
    50: '#c8e2aa',
    500: '#afd586',
    950: '#000000',
  },
}
SCSS
$custom: #afd586;
$custom-light: #c8e2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afd586",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 134
  },
  "hsl": {
    "h": 88.861,
    "s": 48.466,
    "l": 68.039
  },
  "oklch": {
    "l": 0.82683,
    "c": 0.11212,
    "h": 129.5
  },
  "luminance": 0.58424
}

Semantic roles & 50–950 ramp

primary
#AFD586
secondary
#7E54AB
accent
#2ABC70
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD586

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

Preview Lab → · Contrast checker → · Palette generator →

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