#A8A386#A8A386

#A8A386 is a light, muted yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.041 H 99.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#A8A386
RGBrgb(168, 163, 134)
HSLhsl(51, 16%, 59%)
HSVhsv(51, 20%, 66%)
CMYKcmyk(0%, 3%, 20.2%, 34.1%)
CIE-LABlab(66.70, -3.12, 15.75)
CIE-LCHlch(66.70, 16.05, 101.22°)
OKLaboklab(71.19% -0.0066 0.0403)
OKLCHoklch(71.19% 0.041 99.2)
XYZxyz(33.5486, 36.2410, 27.7775)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A386 #868BA8
analogous
#A89286 #A8A386 #9CA886
triadic
#A8A386 #86A8A3 #A386A8
tetradic
#A8A386 #86A892 #868BA8 #A8869C
square
#A8A386 #86A892 #868BA8 #A8869C
split-complementary
#A8A386 #869CA8 #9286A8
monochromatic
#68644B #8C8665 #A8A386 #C2BEAA #DBD9CD

Accessibility & contrast

On white

2.55
#A8A386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#A8A386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A386
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A386#FFFFFF#000000##000000
##A8A3861.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A184
Deuteranopia (green-blind)
#ABA387
Tritanopia (blue-blind)
#AE9F9B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a386;
/* rgb */ color: rgb(168, 163, 134);
/* oklch */ color: oklch(71.2% 0.041 99.2);
Tailwind
colors: {
  custom: {
    50: '#c2bea9',
    500: '#a8a386',
    950: '#000000',
  },
}
SCSS
$custom: #a8a386;
$custom-light: #c2bea9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a386",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 134
  },
  "hsl": {
    "h": 51.176,
    "s": 16.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.71187,
    "c": 0.04088,
    "h": 99.2
  },
  "luminance": 0.3624
}

Semantic roles & 50–950 ramp

primary
#A8A386
secondary
#BEC0CC
accent
#7AB96F
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #A8A386

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

Preview Lab → · Contrast checker → · Palette generator →

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