#AFC686#AFC686

#AFC686 is a light, moderate yellow-green. Relative luminance 0.512; OKLCH L 79.4% C 0.089 H 124.5°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#AFC686
RGBrgb(175, 198, 134)
HSLhsl(82, 36%, 65%)
HSVhsv(82, 32%, 78%)
CMYKcmyk(11.6%, 0%, 32.3%, 22.4%)
CIE-LABlab(76.81, -18.69, 29.57)
CIE-LCHlch(76.81, 34.98, 122.30°)
OKLaboklab(79.35% -0.0506 0.0738)
OKLCHoklch(79.35% 0.089 124.5)
XYZxyz(42.1759, 51.2232, 30.2148)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC686 #9D86C6
analogous
#C6BD86 #AFC686 #8FC686
triadic
#AFC686 #86AFC6 #C686AF
tetradic
#AFC686 #86C6BD #9D86C6 #C6868F
square
#AFC686 #86C6BD #9D86C6 #C6868F
split-complementary
#AFC686 #868FC6 #BD86C6
monochromatic
#738E43 #93B25C #AFC686 #CBDAB0 #E6EDD9

Accessibility & contrast

On white

1.87
#AFC686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#AFC686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC686
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC686#FFFFFF#000000##000000
##AFC6861.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE82
Deuteranopia (green-blind)
#CABD89
Tritanopia (blue-blind)
#B3C0B5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc686;
/* rgb */ color: rgb(175, 198, 134);
/* oklch */ color: oklch(79.4% 0.089 124.5);
Tailwind
colors: {
  custom: {
    50: '#c7d7aa',
    500: '#afc686',
    950: '#000000',
  },
}
SCSS
$custom: #afc686;
$custom-light: #c7d7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afc686",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 134
  },
  "hsl": {
    "h": 81.563,
    "s": 35.955,
    "l": 65.098
  },
  "oklch": {
    "l": 0.79351,
    "c": 0.08945,
    "h": 124.5
  },
  "luminance": 0.51223
}

Semantic roles & 50–950 ramp

primary
#AFC686
secondary
#705A96
accent
#37AF62
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#131410
muted
#828380

Preview Lab

Preview with #AFC686

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

Preview Lab → · Contrast checker → · Palette generator →

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