#AFC586#AFC586

#AFC586 is a light, moderate yellow-green. Relative luminance 0.508; OKLCH L 79.1% C 0.088 H 124.0°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#AFC586
RGBrgb(175, 197, 134)
HSLhsl(81, 35%, 65%)
HSVhsv(81, 32%, 77%)
CMYKcmyk(11.2%, 0%, 32%, 22.7%)
CIE-LABlab(76.54, -18.19, 29.21)
CIE-LCHlch(76.54, 34.41, 121.91°)
OKLaboklab(79.13% -0.0492 0.0729)
OKLCHoklch(79.13% 0.088 124)
XYZxyz(41.9481, 50.7676, 30.1388)
Luminance0.5077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC586 #9C86C5
analogous
#C5BB86 #AFC586 #90C586
triadic
#AFC586 #86AFC5 #C586AF
tetradic
#AFC586 #86C5BB #9C86C5 #C58690
square
#AFC586 #86C5BB #9C86C5 #C58690
split-complementary
#AFC586 #8690C5 #BB86C5
monochromatic
#738D44 #94B15D #AFC586 #CAD9AF #E6EDD9

Accessibility & contrast

On white

1.88
#AFC586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#AFC586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC586
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC586#FFFFFF#000000##000000
##AFC5861.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD82
Deuteranopia (green-blind)
#C9BD89
Tritanopia (blue-blind)
#B3BFB5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc586;
/* rgb */ color: rgb(175, 197, 134);
/* oklch */ color: oklch(79.1% 0.088 124.0);
Tailwind
colors: {
  custom: {
    50: '#c7d6a9',
    500: '#afc586',
    950: '#000000',
  },
}
SCSS
$custom: #afc586;
$custom-light: #c7d6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afc586",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 134
  },
  "hsl": {
    "h": 80.952,
    "s": 35.196,
    "l": 64.902
  },
  "oklch": {
    "l": 0.79131,
    "c": 0.08793,
    "h": 124
  },
  "luminance": 0.50768
}

Semantic roles & 50–950 ramp

primary
#AFC586
secondary
#6F5A95
accent
#37AE61
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#131410
muted
#828380

Preview Lab

Preview with #AFC586

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

Preview Lab → · Contrast checker → · Palette generator →

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