#AFBF86#AFBF86

#AFBF86 is a light, moderate yellow-green. Relative luminance 0.481; OKLCH L 77.8% C 0.079 H 121.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#AFBF86
RGBrgb(175, 191, 134)
HSLhsl(77, 31%, 64%)
HSVhsv(77, 30%, 75%)
CMYKcmyk(8.4%, 0%, 29.8%, 25.1%)
CIE-LABlab(74.89, -15.15, 27.00)
CIE-LCHlch(74.89, 30.96, 119.30°)
OKLaboklab(77.81% -0.0406 0.0677)
OKLCHoklch(77.81% 0.079 121)
XYZxyz(40.6128, 48.0968, 29.6937)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF86 #9686BF
analogous
#BFB286 #AFBF86 #92BF86
triadic
#AFBF86 #86AFBF #BF86AF
tetradic
#AFBF86 #86BFB2 #9686BF #BF8692
square
#AFBF86 #86BFB2 #9686BF #BF8692
split-complementary
#AFBF86 #8692BF #B286BF
monochromatic
#738546 #95AA5E #AFBF86 #C9D4AE #E4E9D6

Accessibility & contrast

On white

1.98
#AFBF86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#AFBF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF86
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF86#FFFFFF#000000##000000
##AFBF861.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B982
Deuteranopia (green-blind)
#C4B889
Tritanopia (blue-blind)
#B4B9B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf86;
/* rgb */ color: rgb(175, 191, 134);
/* oklch */ color: oklch(77.8% 0.079 121.0);
Tailwind
colors: {
  custom: {
    50: '#c7d2a9',
    500: '#afbf86',
    950: '#000000',
  },
}
SCSS
$custom: #afbf86;
$custom-light: #c7d2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf86",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 134
  },
  "hsl": {
    "h": 76.842,
    "s": 30.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.77813,
    "c": 0.07893,
    "h": 121
  },
  "luminance": 0.48097
}

Semantic roles & 50–950 ramp

primary
#AFBF86
secondary
#CCC6DA
accent
#3CAA5B
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBF86

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

Preview Lab → · Contrast checker → · Palette generator →

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