#A8A17C#A8A17C

#A8A17C is a light, muted yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.052 H 98.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A8A17C
RGBrgb(168, 161, 124)
HSLhsl(50, 20%, 57%)
HSVhsv(50, 26%, 66%)
CMYKcmyk(0%, 4.2%, 26.2%, 34.1%)
CIE-LABlab(65.96, -3.52, 20.23)
CIE-LCHlch(65.96, 20.53, 99.87°)
OKLaboklab(70.53% -0.0077 0.0512)
OKLCHoklch(70.53% 0.052 98.6)
XYZxyz(32.5315, 35.2705, 24.1590)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A17C #7C83A8
analogous
#A88B7C #A8A17C #99A87C
triadic
#A8A17C #7CA8A1 #A17CA8
tetradic
#A8A17C #7CA88B #7C83A8 #A87C99
square
#A8A17C #7CA88B #7C83A8 #A87C99
split-complementary
#A8A17C #7C99A8 #8B7CA8
monochromatic
#666044 #8B835C #A8A17C #C0BBA1 #D9D6C6

Accessibility & contrast

On white

2.61
#A8A17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A8A17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A17C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A17C#FFFFFF#000000##000000
##A8A17C1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89F7A
Deuteranopia (green-blind)
#ABA27D
Tritanopia (blue-blind)
#AF9C97
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a17c;
/* rgb */ color: rgb(168, 161, 124);
/* oklch */ color: oklch(70.5% 0.052 98.6);
Tailwind
colors: {
  custom: {
    50: '#c2bca2',
    500: '#a8a17c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a17c;
$custom-light: #c2bca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a17c",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 124
  },
  "hsl": {
    "h": 50.455,
    "s": 20.183,
    "l": 57.255
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.05181,
    "h": 98.6
  },
  "luminance": 0.3527
}

Semantic roles & 50–950 ramp

primary
#A8A17C
secondary
#B7BAC9
accent
#78BD6B
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120F
muted
#81817E

Preview Lab

Preview with #A8A17C

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

Preview Lab → · Contrast checker → · Palette generator →

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