#A7A545#A7A545

#A7A545 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.118 H 108.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#A7A545
RGBrgb(167, 165, 69)
HSLhsl(59, 42%, 46%)
HSVhsv(59, 59%, 65%)
CMYKcmyk(0%, 1.2%, 58.7%, 34.5%)
CIE-LABlab(66.18, -12.03, 48.86)
CIE-LCHlch(66.18, 50.32, 103.84°)
OKLaboklab(70.43% -0.0365 0.1126)
OKLCHoklch(70.43% 0.118 108)
XYZxyz(30.4666, 35.5563, 10.8872)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A545 #4547A7
analogous
#A77445 #A7A545 #78A745
triadic
#A7A545 #45A7A5 #A545A7
tetradic
#A7A545 #45A774 #4547A7 #A74578
square
#A7A545 #45A774 #4547A7 #A74578
split-complementary
#A7A545 #4578A7 #7445A7
monochromatic
#504F21 #7C7A33 #A7A545 #C1BF68 #D3D194

Accessibility & contrast

On white

2.59
#A7A545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#A7A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A545
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A545#FFFFFF#000000##000000
##A7A5451.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3A
Deuteranopia (green-blind)
#B3A34A
Tritanopia (blue-blind)
#B29B90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a7a545;
/* rgb */ color: rgb(167, 165, 69);
/* oklch */ color: oklch(70.4% 0.118 108.0);
Tailwind
colors: {
  custom: {
    50: '#c4bf7c',
    500: '#a7a545',
    950: '#000000',
  },
}
SCSS
$custom: #a7a545;
$custom-light: #c4bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a545",
  "rgb": {
    "r": 167,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 58.776,
    "s": 41.525,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70428,
    "c": 0.11839,
    "h": 108
  },
  "luminance": 0.35555
}

Semantic roles & 50–950 ramp

primary
#A7A545
secondary
#898BBE
accent
#59D156
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A7A545

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

Preview Lab → · Contrast checker → · Palette generator →

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