#A8A86B#A8A86B

#A8A86B is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.082 H 108.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#A8A86B
RGBrgb(168, 168, 107)
HSLhsl(60, 26%, 54%)
HSVhsv(60, 36%, 66%)
CMYKcmyk(0%, 0%, 36.3%, 34.1%)
CIE-LABlab(67.57, -9.49, 31.55)
CIE-LCHlch(67.57, 32.95, 106.74°)
OKLaboklab(71.71% -0.0256 0.0775)
OKLCHoklch(71.71% 0.082 108.3)
XYZxyz(32.8053, 37.3922, 19.3964)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A86B #6B6BA8
analogous
#A88A6B #A8A86B #8AA86B
triadic
#A8A86B #6BA8A8 #A86BA8
tetradic
#A8A86B #6BA88A #6B6BA8 #A86B8A
square
#A8A86B #6BA88A #6B6BA8 #A86B8A
split-complementary
#A8A86B #6B8AA8 #8A6BA8
monochromatic
#606038 #87874F #A8A86B #BFBF92 #D5D5B8

Accessibility & contrast

On white

2.48
#A8A86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#A8A86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A86B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A86B#FFFFFF#000000##000000
##A8A86B1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A367
Deuteranopia (green-blind)
#B2A66E
Tritanopia (blue-blind)
#B0A199
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8a86b;
/* rgb */ color: rgb(168, 168, 107);
/* oklch */ color: oklch(71.7% 0.082 108.3);
Tailwind
colors: {
  custom: {
    50: '#c3c196',
    500: '#a8a86b',
    950: '#000000',
  },
}
SCSS
$custom: #a8a86b;
$custom-light: #c3c196;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a86b",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 107
  },
  "hsl": {
    "h": 60,
    "s": 25.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7171,
    "c": 0.08163,
    "h": 108.3
  },
  "luminance": 0.37392
}

Semantic roles & 50–950 ramp

primary
#A8A86B
secondary
#AAAAC4
accent
#65C265
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A8A86B

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

Preview Lab → · Contrast checker → · Palette generator →

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