#A6A045#A6A045

#A6A045 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.113 H 105.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A6A045
RGBrgb(166, 160, 69)
HSLhsl(56, 41%, 46%)
HSVhsv(56, 58%, 65%)
CMYKcmyk(0%, 3.6%, 58.4%, 34.9%)
CIE-LABlab(64.71, -9.84, 47.20)
CIE-LCHlch(64.71, 48.21, 101.77°)
OKLaboklab(69.24% -0.0302 0.1091)
OKLCHoklch(69.24% 0.113 105.5)
XYZxyz(29.3718, 33.6792, 10.5826)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A045 #454BA6
analogous
#A66F45 #A6A045 #7BA645
triadic
#A6A045 #45A6A0 #A045A6
tetradic
#A6A045 #45A66F #454BA6 #A6457B
square
#A6A045 #45A66F #454BA6 #A6457B
split-complementary
#A6A045 #457BA6 #6F45A6
monochromatic
#504D21 #7B7633 #A6A045 #C0BB68 #D2CE93

Accessibility & contrast

On white

2.71
#A6A045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A6A045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A045
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A045#FFFFFF#000000##000000
##A6A0451.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3B
Deuteranopia (green-blind)
#AF9F4A
Tritanopia (blue-blind)
#B1968C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a045;
/* rgb */ color: rgb(166, 160, 69);
/* oklch */ color: oklch(69.2% 0.113 105.5);
Tailwind
colors: {
  custom: {
    50: '#c3bb7c',
    500: '#a6a045',
    950: '#000000',
  },
}
SCSS
$custom: #a6a045;
$custom-light: #c3bb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a045",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 56.289,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69235,
    "c": 0.11319,
    "h": 105.5
  },
  "luminance": 0.33678
}

Semantic roles & 50–950 ramp

primary
#A6A045
secondary
#898CBE
accent
#5ED157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #A6A045

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

Preview Lab → · Contrast checker → · Palette generator →

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