#A6A474#A6A474

#A6A474 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.066 H 105.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A6A474
RGBrgb(166, 164, 116)
HSLhsl(58, 22%, 55%)
HSVhsv(58, 30%, 65%)
CMYKcmyk(0%, 1.2%, 30.1%, 34.9%)
CIE-LABlab(66.46, -7.03, 25.24)
CIE-LCHlch(66.46, 26.20, 105.57°)
OKLaboklab(70.84% -0.018 0.0631)
OKLCHoklch(70.84% 0.066 105.9)
XYZxyz(32.1539, 35.9194, 21.7589)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A474 #7476A6
analogous
#A68B74 #A6A474 #8FA674
triadic
#A6A474 #74A6A4 #A474A6
tetradic
#A6A474 #74A68B #7476A6 #A6748F
square
#A6A474 #74A68B #7476A6 #A6748F
split-complementary
#A6A474 #748FA6 #8B74A6
monochromatic
#61603E #878556 #A6A474 #BEBC99 #D6D5BF

Accessibility & contrast

On white

2.57
#A6A474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A6A474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A474
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A474#FFFFFF#000000##000000
##A6A4741.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA071
Deuteranopia (green-blind)
#ADA376
Tritanopia (blue-blind)
#AD9E97
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a474;
/* rgb */ color: rgb(166, 164, 116);
/* oklch */ color: oklch(70.8% 0.066 105.9);
Tailwind
colors: {
  custom: {
    50: '#c1be9c',
    500: '#a6a474',
    950: '#000000',
  },
}
SCSS
$custom: #a6a474;
$custom-light: #c1be9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a474",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 116
  },
  "hsl": {
    "h": 57.6,
    "s": 21.93,
    "l": 55.294
  },
  "oklch": {
    "l": 0.70837,
    "c": 0.0656,
    "h": 105.9
  },
  "luminance": 0.35919
}

Semantic roles & 50–950 ramp

primary
#A6A474
secondary
#B0B1C5
accent
#6DBE69
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A6A474

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

Preview Lab → · Contrast checker → · Palette generator →

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