#A5A17C#A5A17C

#A5A17C is a light, muted yellow. Relative luminance 0.349; OKLCH L 70.3% C 0.052 H 102.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A5A17C
RGBrgb(165, 161, 124)
HSLhsl(54, 19%, 57%)
HSVhsv(54, 25%, 65%)
CMYKcmyk(0%, 2.4%, 24.8%, 35.3%)
CIE-LABlab(65.71, -4.71, 19.84)
CIE-LCHlch(65.71, 20.39, 103.34°)
OKLaboklab(70.27% -0.0111 0.0503)
OKLCHoklch(70.27% 0.052 102.5)
XYZxyz(31.9000, 34.9448, 24.1294)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A17C #7C80A5
analogous
#A58D7C #A5A17C #95A57C
triadic
#A5A17C #7CA5A1 #A17CA5
tetradic
#A5A17C #7CA58D #7C80A5 #A57C95
square
#A5A17C #7CA58D #7C80A5 #A57C95
split-complementary
#A5A17C #7C95A5 #8D7CA5
monochromatic
#636044 #87835D #A5A17C #BEBBA0 #D7D5C5

Accessibility & contrast

On white

2.63
#A5A17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#A5A17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A17C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A17C#FFFFFF#000000##000000
##A5A17C1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89E7A
Deuteranopia (green-blind)
#A9A17D
Tritanopia (blue-blind)
#AB9C97
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a17c;
/* rgb */ color: rgb(165, 161, 124);
/* oklch */ color: oklch(70.3% 0.052 102.5);
Tailwind
colors: {
  custom: {
    50: '#c0bca2',
    500: '#a5a17c',
    950: '#000000',
  },
}
SCSS
$custom: #a5a17c;
$custom-light: #c0bca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a17c",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 124
  },
  "hsl": {
    "h": 54.146,
    "s": 18.552,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7027,
    "c": 0.05151,
    "h": 102.5
  },
  "luminance": 0.34944
}

Semantic roles & 50–950 ramp

primary
#A5A17C
secondary
#B6B8C7
accent
#74BB6D
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120F
muted
#81817E

Preview Lab

Preview with #A5A17C

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

Preview Lab → · Contrast checker → · Palette generator →

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