#A6A366#A6A366

#A6A366 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.082 H 105.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A6A366
RGBrgb(166, 163, 102)
HSLhsl(57, 26%, 53%)
HSVhsv(57, 39%, 65%)
CMYKcmyk(0%, 1.8%, 38.6%, 34.9%)
CIE-LABlab(65.95, -8.25, 32.08)
CIE-LCHlch(65.95, 33.13, 104.42°)
OKLaboklab(70.36% -0.0223 0.0785)
OKLCHoklch(70.36% 0.082 105.9)
XYZxyz(31.2218, 35.2614, 17.7292)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A366 #6669A6
analogous
#A68366 #A6A366 #89A666
triadic
#A6A366 #66A6A3 #A366A6
tetradic
#A6A366 #66A683 #6669A6 #A66689
square
#A6A366 #66A683 #6669A6 #A66689
split-complementary
#A6A366 #6689A6 #8366A6
monochromatic
#5C5A36 #83804C #A6A366 #BDBA8D #D3D2B3

Accessibility & contrast

On white

2.61
#A6A366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A6A366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A366
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A366#FFFFFF#000000##000000
##A6A3661.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F61
Deuteranopia (green-blind)
#AEA269
Tritanopia (blue-blind)
#AF9C94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a366;
/* rgb */ color: rgb(166, 163, 102);
/* oklch */ color: oklch(70.4% 0.082 105.9);
Tailwind
colors: {
  custom: {
    50: '#c1be92',
    500: '#a6a366',
    950: '#000000',
  },
}
SCSS
$custom: #a6a366;
$custom-light: #c1be92;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a366",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 57.187,
    "s": 26.446,
    "l": 52.549
  },
  "oklch": {
    "l": 0.70359,
    "c": 0.08164,
    "h": 105.9
  },
  "luminance": 0.35261
}

Semantic roles & 50–950 ramp

primary
#A6A366
secondary
#A6A7C2
accent
#69C365
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A6A366

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

Preview Lab → · Contrast checker → · Palette generator →

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