#A6A166#A6A166

#A6A166 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.079 H 104.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A6A166
RGBrgb(166, 161, 102)
HSLhsl(55, 26%, 53%)
HSVhsv(55, 39%, 65%)
CMYKcmyk(0%, 3%, 38.6%, 34.9%)
CIE-LABlab(65.40, -7.18, 31.38)
CIE-LCHlch(65.40, 32.19, 102.89°)
OKLaboklab(69.92% -0.0193 0.0769)
OKLCHoklch(69.92% 0.079 104.1)
XYZxyz(30.8695, 34.5568, 17.6118)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A166 #666BA6
analogous
#A68166 #A6A166 #8BA666
triadic
#A6A166 #66A6A1 #A166A6
tetradic
#A6A166 #66A681 #666BA6 #A6668B
square
#A6A166 #66A681 #666BA6 #A6668B
split-complementary
#A6A166 #668BA6 #8166A6
monochromatic
#5C5936 #837E4C #A6A166 #BDB98D #D3D1B3

Accessibility & contrast

On white

2.65
#A6A166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#A6A166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A166
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A166#FFFFFF#000000##000000
##A6A1661.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D62
Deuteranopia (green-blind)
#ADA068
Tritanopia (blue-blind)
#AF9A92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a166;
/* rgb */ color: rgb(166, 161, 102);
/* oklch */ color: oklch(69.9% 0.079 104.1);
Tailwind
colors: {
  custom: {
    50: '#c1bc92',
    500: '#a6a166',
    950: '#000000',
  },
}
SCSS
$custom: #a6a166;
$custom-light: #c1bc92;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a166",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 55.312,
    "s": 26.446,
    "l": 52.549
  },
  "oklch": {
    "l": 0.69923,
    "c": 0.07928,
    "h": 104.1
  },
  "luminance": 0.34556
}

Semantic roles & 50–950 ramp

primary
#A6A166
secondary
#A6A8C2
accent
#6CC365
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A6A166

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

Preview Lab → · Contrast checker → · Palette generator →

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