#A5A173#A5A173

#A5A173 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.1% C 0.063 H 103.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A5A173
RGBrgb(165, 161, 115)
HSLhsl(55, 22%, 55%)
HSVhsv(55, 30%, 65%)
CMYKcmyk(0%, 2.4%, 30.3%, 35.3%)
CIE-LABlab(65.54, -5.96, 24.54)
CIE-LCHlch(65.54, 25.25, 103.65°)
OKLaboklab(70.08% -0.015 0.0614)
OKLCHoklch(70.08% 0.063 103.7)
XYZxyz(31.3566, 34.7275, 21.2676)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A173 #7377A5
analogous
#A58873 #A5A173 #90A573
triadic
#A5A173 #73A5A1 #A173A5
tetradic
#A5A173 #73A588 #7377A5 #A57390
square
#A5A173 #73A588 #7377A5 #A57390
split-complementary
#A5A173 #7390A5 #8873A5
monochromatic
#605D3E #858156 #A5A173 #BDBA98 #D5D3BE

Accessibility & contrast

On white

2.64
#A5A173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A5A173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A173
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A173#FFFFFF#000000##000000
##A5A1731.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99E70
Deuteranopia (green-blind)
#ABA075
Tritanopia (blue-blind)
#AC9B95
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a173;
/* rgb */ color: rgb(165, 161, 115);
/* oklch */ color: oklch(70.1% 0.063 103.7);
Tailwind
colors: {
  custom: {
    50: '#c0bc9b',
    500: '#a5a173',
    950: '#000000',
  },
}
SCSS
$custom: #a5a173;
$custom-light: #c0bc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a173",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 115
  },
  "hsl": {
    "h": 55.2,
    "s": 21.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.06319,
    "h": 103.7
  },
  "luminance": 0.34727
}

Semantic roles & 50–950 ramp

primary
#A5A173
secondary
#AFB1C4
accent
#70BE6A
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A173

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

Preview Lab → · Contrast checker → · Palette generator →

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