#A6A266#A6A266

#A6A266 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.080 H 105.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A6A266
RGBrgb(166, 162, 102)
HSLhsl(56, 26%, 53%)
HSVhsv(56, 39%, 65%)
CMYKcmyk(0%, 2.4%, 38.6%, 34.9%)
CIE-LABlab(65.68, -7.72, 31.73)
CIE-LCHlch(65.68, 32.65, 103.67°)
OKLaboklab(70.14% -0.0208 0.0777)
OKLCHoklch(70.14% 0.08 105)
XYZxyz(31.0449, 34.9077, 17.6703)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A266 #666AA6
analogous
#A68266 #A6A266 #8AA666
triadic
#A6A266 #66A6A2 #A266A6
tetradic
#A6A266 #66A682 #666AA6 #A6668A
square
#A6A266 #66A682 #666AA6 #A6668A
split-complementary
#A6A266 #668AA6 #8266A6
monochromatic
#5C5A36 #837F4C #A6A266 #BDBA8D #D3D1B3

Accessibility & contrast

On white

2.63
#A6A266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#A6A266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A266
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A266#FFFFFF#000000##000000
##A6A2661.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E62
Deuteranopia (green-blind)
#AEA168
Tritanopia (blue-blind)
#AF9B93
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a266;
/* rgb */ color: rgb(166, 162, 102);
/* oklch */ color: oklch(70.1% 0.080 105.0);
Tailwind
colors: {
  custom: {
    50: '#c1bd92',
    500: '#a6a266',
    950: '#000000',
  },
}
SCSS
$custom: #a6a266;
$custom-light: #c1bd92;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a266",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 102
  },
  "hsl": {
    "h": 56.25,
    "s": 26.446,
    "l": 52.549
  },
  "oklch": {
    "l": 0.70141,
    "c": 0.08045,
    "h": 105
  },
  "luminance": 0.34907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6A266

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

Preview Lab → · Contrast checker → · Palette generator →

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