#A7A045#A7A045

#A7A045 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.3% C 0.113 H 104.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A7A045
RGBrgb(167, 160, 69)
HSLhsl(56, 42%, 46%)
HSVhsv(56, 59%, 65%)
CMYKcmyk(0%, 4.2%, 58.7%, 34.5%)
CIE-LABlab(64.79, -9.40, 47.32)
CIE-LCHlch(64.79, 48.24, 101.24°)
OKLaboklab(69.33% -0.029 0.1093)
OKLCHoklch(69.33% 0.113 104.9)
XYZxyz(29.5823, 33.7878, 10.5925)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A045 #454CA7
analogous
#A76F45 #A7A045 #7DA745
triadic
#A7A045 #45A7A0 #A045A7
tetradic
#A7A045 #45A76F #454CA7 #A7457D
square
#A7A045 #45A76F #454CA7 #A7457D
split-complementary
#A7A045 #457DA7 #6F45A7
monochromatic
#504D21 #7C7733 #A7A045 #C1BA68 #D3CE94

Accessibility & contrast

On white

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

On black

7.76
#A7A045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A045
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A045#FFFFFF#000000##000000
##A7A0451.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a045;
/* rgb */ color: rgb(167, 160, 69);
/* oklch */ color: oklch(69.3% 0.113 104.9);
Tailwind
colors: {
  custom: {
    50: '#c3bb7c',
    500: '#a7a045',
    950: '#000000',
  },
}
SCSS
$custom: #a7a045;
$custom-light: #c3bb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a045",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 55.714,
    "s": 41.525,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69325,
    "c": 0.11311,
    "h": 104.9
  },
  "luminance": 0.33787
}

Semantic roles & 50–950 ramp

primary
#A7A045
secondary
#898DBE
accent
#5FD156
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #A7A045

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

Preview Lab → · Contrast checker → · Palette generator →

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