#A6AA78#A6AA78

#A6AA78 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.2% C 0.068 H 111.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#A6AA78
RGBrgb(166, 170, 120)
HSLhsl(65, 23%, 57%)
HSVhsv(65, 29%, 67%)
CMYKcmyk(2.4%, 0%, 29.4%, 33.3%)
CIE-LABlab(68.18, -9.68, 25.37)
CIE-LCHlch(68.18, 27.16, 110.88°)
OKLaboklab(72.22% -0.0254 0.0635)
OKLCHoklch(72.22% 0.068 111.8)
XYZxyz(33.4908, 38.2129, 23.3772)
Luminance0.3821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA78 #7C78AA
analogous
#AA9578 #A6AA78 #8DAA78
triadic
#A6AA78 #78A6AA #AA78A6
tetradic
#A6AA78 #78AA95 #7C78AA #AA788D
square
#A6AA78 #78AA95 #7C78AA #AA788D
split-complementary
#A6AA78 #788DAA #9578AA
monochromatic
#646741 #888C58 #A6AA78 #BFC29E #D8D9C3

Accessibility & contrast

On white

2.43
#A6AA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#A6AA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA78
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA78#FFFFFF#000000##000000
##A6AA781.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A575
Deuteranopia (green-blind)
#B2A77A
Tritanopia (blue-blind)
#ACA49D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a6aa78;
/* rgb */ color: rgb(166, 170, 120);
/* oklch */ color: oklch(72.2% 0.068 111.8);
Tailwind
colors: {
  custom: {
    50: '#c1c39f',
    500: '#a6aa78',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa78;
$custom-light: #c1c39f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa78",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 120
  },
  "hsl": {
    "h": 64.8,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72224,
    "c": 0.0684,
    "h": 111.8
  },
  "luminance": 0.38213
}

Semantic roles & 50–950 ramp

primary
#A6AA78
secondary
#B6B5C9
accent
#69BF70
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A6AA78

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

Preview Lab → · Contrast checker → · Palette generator →

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