#A6A86C#A6A86C

#A6A86C is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.081 H 109.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A6A86C
RGBrgb(166, 168, 108)
HSLhsl(62, 26%, 54%)
HSVhsv(62, 36%, 66%)
CMYKcmyk(1.2%, 0%, 35.7%, 34.1%)
CIE-LABlab(67.42, -10.18, 30.80)
CIE-LCHlch(67.42, 32.44, 108.28°)
OKLaboklab(71.56% -0.0275 0.0758)
OKLCHoklch(71.56% 0.081 109.9)
XYZxyz(32.4356, 37.1955, 19.6552)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A86C #6E6CA8
analogous
#A88C6C #A6A86C #88A86C
triadic
#A6A86C #6CA6A8 #A86CA6
tetradic
#A6A86C #6CA88C #6E6CA8 #A86C88
square
#A6A86C #6CA88C #6E6CA8 #A86C88
split-complementary
#A6A86C #6C88A8 #8C6CA8
monochromatic
#5F6039 #858750 #A6A86C #BDBF92 #D5D6B9

Accessibility & contrast

On white

2.49
#A6A86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#A6A86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A86C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A86C#FFFFFF#000000##000000
##A6A86C1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A368
Deuteranopia (green-blind)
#B2A56F
Tritanopia (blue-blind)
#AEA199
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6a86c;
/* rgb */ color: rgb(166, 168, 108);
/* oklch */ color: oklch(71.6% 0.081 109.9);
Tailwind
colors: {
  custom: {
    50: '#c1c197',
    500: '#a6a86c',
    950: '#000000',
  },
}
SCSS
$custom: #a6a86c;
$custom-light: #c1c197;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a86c",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 108
  },
  "hsl": {
    "h": 62,
    "s": 25.641,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71559,
    "c": 0.08065,
    "h": 109.9
  },
  "luminance": 0.37195
}

Semantic roles & 50–950 ramp

primary
#A6A86C
secondary
#ACABC5
accent
#66C269
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A6A86C

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

Preview Lab → · Contrast checker → · Palette generator →

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