#A6A173#A6A173

#A6A173 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.2% C 0.063 H 102.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A6A173
RGBrgb(166, 161, 115)
HSLhsl(54, 22%, 55%)
HSVhsv(54, 31%, 65%)
CMYKcmyk(0%, 3%, 30.7%, 34.9%)
CIE-LABlab(65.62, -5.56, 24.66)
CIE-LCHlch(65.62, 25.28, 102.70°)
OKLaboklab(70.17% -0.0138 0.0617)
OKLCHoklch(70.17% 0.063 102.6)
XYZxyz(31.5655, 34.8352, 21.2774)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A173 #7378A6
analogous
#A68873 #A6A173 #91A673
triadic
#A6A173 #73A6A1 #A173A6
tetradic
#A6A173 #73A688 #7378A6 #A67391
square
#A6A173 #73A688 #7378A6 #A67391
split-complementary
#A6A173 #7391A6 #8873A6
monochromatic
#615D3E #868255 #A6A173 #BEBA98 #D6D3BE

Accessibility & contrast

On white

2.64
#A6A173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A6A173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A173
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A173#FFFFFF#000000##000000
##A6A1731.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99E70
Deuteranopia (green-blind)
#ABA175
Tritanopia (blue-blind)
#AE9B95
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a173;
/* rgb */ color: rgb(166, 161, 115);
/* oklch */ color: oklch(70.2% 0.063 102.6);
Tailwind
colors: {
  custom: {
    50: '#c1bc9b',
    500: '#a6a173',
    950: '#000000',
  },
}
SCSS
$custom: #a6a173;
$custom-light: #c1bc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a173",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 115
  },
  "hsl": {
    "h": 54.118,
    "s": 22.271,
    "l": 55.098
  },
  "oklch": {
    "l": 0.70167,
    "c": 0.06322,
    "h": 102.6
  },
  "luminance": 0.34835
}

Semantic roles & 50–950 ramp

primary
#A6A173
secondary
#B0B2C5
accent
#71BF69
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A6A173

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

Preview Lab → · Contrast checker → · Palette generator →

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