#A6A545#A6A545

#A6A545 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.119 H 108.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A6A545
RGBrgb(166, 165, 69)
HSLhsl(59, 41%, 46%)
HSVhsv(59, 58%, 65%)
CMYKcmyk(0%, 0.6%, 58.4%, 34.9%)
CIE-LABlab(66.10, -12.46, 48.74)
CIE-LCHlch(66.10, 50.31, 104.34°)
OKLaboklab(70.34% -0.0377 0.1124)
OKLCHoklch(70.34% 0.119 108.5)
XYZxyz(30.2561, 35.4478, 10.8774)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A545 #4546A6
analogous
#A67445 #A6A545 #76A645
triadic
#A6A545 #45A6A5 #A545A6
tetradic
#A6A545 #45A674 #4546A6 #A64576
square
#A6A545 #45A674 #4546A6 #A64576
split-complementary
#A6A545 #4576A6 #7445A6
monochromatic
#504F21 #7B7A33 #A6A545 #C0BF68 #D2D293

Accessibility & contrast

On white

2.60
#A6A545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A6A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A545
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A545#FFFFFF#000000##000000
##A6A5451.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3B
Deuteranopia (green-blind)
#B3A24A
Tritanopia (blue-blind)
#B19B90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a545;
/* rgb */ color: rgb(166, 165, 69);
/* oklch */ color: oklch(70.3% 0.119 108.5);
Tailwind
colors: {
  custom: {
    50: '#c3bf7c',
    500: '#a6a545',
    950: '#000000',
  },
}
SCSS
$custom: #a6a545;
$custom-light: #c3bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a545",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 59.381,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70341,
    "c": 0.11854,
    "h": 108.5
  },
  "luminance": 0.35447
}

Semantic roles & 50–950 ramp

primary
#A6A545
secondary
#8989BE
accent
#58D157
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A6A545

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

Preview Lab → · Contrast checker → · Palette generator →

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