#A6A464#A6A464

#A6A464 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.5% C 0.085 H 106.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#A6A464
RGBrgb(166, 164, 100)
HSLhsl(58, 27%, 52%)
HSVhsv(58, 40%, 65%)
CMYKcmyk(0%, 1.2%, 39.8%, 34.9%)
CIE-LABlab(66.20, -9.01, 33.45)
CIE-LCHlch(66.20, 34.64, 105.07°)
OKLaboklab(70.54% -0.0247 0.0815)
OKLCHoklch(70.54% 0.085 106.8)
XYZxyz(31.3021, 35.5787, 17.2726)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A464 #6466A6
analogous
#A68364 #A6A464 #87A664
triadic
#A6A464 #64A6A4 #A464A6
tetradic
#A6A464 #64A683 #6466A6 #A66487
square
#A6A464 #64A683 #6466A6 #A66487
split-complementary
#A6A464 #6487A6 #8364A6
monochromatic
#5B5A34 #82804B #A6A464 #BCBB8B #D3D2B2

Accessibility & contrast

On white

2.59
#A6A464 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#A6A464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A464
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A464#FFFFFF#000000##000000
##A6A4641.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5F
Deuteranopia (green-blind)
#AFA267
Tritanopia (blue-blind)
#AF9C94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a464;
/* rgb */ color: rgb(166, 164, 100);
/* oklch */ color: oklch(70.5% 0.085 106.8);
Tailwind
colors: {
  custom: {
    50: '#c1be91',
    500: '#a6a464',
    950: '#000000',
  },
}
SCSS
$custom: #a6a464;
$custom-light: #c1be91;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a464",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 100
  },
  "hsl": {
    "h": 58.182,
    "s": 27.049,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70544,
    "c": 0.0852,
    "h": 106.8
  },
  "luminance": 0.35578
}

Semantic roles & 50–950 ramp

primary
#A6A464
secondary
#A4A5C1
accent
#67C364
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120D
muted
#81817D

Preview Lab

Preview with #A6A464

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

Preview Lab → · Contrast checker → · Palette generator →

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