#AFC386#AFC386

#AFC386 is a light, moderate yellow-green. Relative luminance 0.499; OKLCH L 78.7% C 0.085 H 123.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#AFC386
RGBrgb(175, 195, 134)
HSLhsl(80, 34%, 65%)
HSVhsv(80, 31%, 76%)
CMYKcmyk(10.3%, 0%, 31.3%, 23.5%)
CIE-LABlab(75.99, -17.18, 28.47)
CIE-LCHlch(75.99, 33.26, 121.11°)
OKLaboklab(78.69% -0.0464 0.0712)
OKLCHoklch(78.69% 0.085 123.1)
XYZxyz(41.4970, 49.8653, 29.9884)
Luminance0.4986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC386 #9A86C3
analogous
#C3B986 #AFC386 #91C386
triadic
#AFC386 #86AFC3 #C386AF
tetradic
#AFC386 #86C3B9 #9A86C3 #C38691
square
#AFC386 #86C3B9 #9A86C3 #C38691
split-complementary
#AFC386 #8691C3 #B986C3
monochromatic
#738A44 #94AF5D #AFC386 #CAD7AF #E5ECD8

Accessibility & contrast

On white

1.91
#AFC386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#AFC386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC386
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC386#FFFFFF#000000##000000
##AFC3861.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABC82
Deuteranopia (green-blind)
#C7BB89
Tritanopia (blue-blind)
#B4BDB3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc386;
/* rgb */ color: rgb(175, 195, 134);
/* oklch */ color: oklch(78.7% 0.085 123.1);
Tailwind
colors: {
  custom: {
    50: '#c7d5a9',
    500: '#afc386',
    950: '#000000',
  },
}
SCSS
$custom: #afc386;
$custom-light: #c7d5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afc386",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 134
  },
  "hsl": {
    "h": 79.672,
    "s": 33.702,
    "l": 64.51
  },
  "oklch": {
    "l": 0.7869,
    "c": 0.08493,
    "h": 123.1
  },
  "luminance": 0.49865
}

Semantic roles & 50–950 ramp

primary
#AFC386
secondary
#CFC8DD
accent
#39AD5F
background
#FCFDFA
surface
#F8FAF4
border
#D1D3CE
text
#131410
muted
#82837F

Preview Lab

Preview with #AFC386

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

Preview Lab → · Contrast checker → · Palette generator →

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