#A1997B#A1997B

#A1997B is a light, muted yellow. Relative luminance 0.318; OKLCH L 68.2% C 0.043 H 94.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A1997B
RGBrgb(161, 153, 123)
HSLhsl(47, 17%, 56%)
HSVhsv(47, 24%, 63%)
CMYKcmyk(0%, 5%, 23.6%, 36.9%)
CIE-LABlab(63.17, -2.09, 16.86)
CIE-LCHlch(63.17, 16.99, 97.06°)
OKLaboklab(68.18% -0.0037 0.043)
OKLCHoklch(68.18% 0.043 94.9)
XYZxyz(29.6643, 31.7902, 23.3085)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1997B #7B83A1
analogous
#A1867B #A1997B #96A17B
triadic
#A1997B #7BA199 #997BA1
tetradic
#A1997B #7BA186 #7B83A1 #A17B96
square
#A1997B #7BA186 #7B83A1 #A17B96
split-complementary
#A1997B #7B96A1 #867BA1
monochromatic
#5E5943 #827A5D #A1997B #BAB59F #D4D0C2

Accessibility & contrast

On white

2.85
#A1997B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#A1997B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1997B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1997B#FFFFFF#000000##000000
##A1997B1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9779
Deuteranopia (green-blind)
#A29A7C
Tritanopia (blue-blind)
#A79491
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a1997b;
/* rgb */ color: rgb(161, 153, 123);
/* oklch */ color: oklch(68.2% 0.043 94.9);
Tailwind
colors: {
  custom: {
    50: '#bdb7a1',
    500: '#a1997b',
    950: '#000000',
  },
}
SCSS
$custom: #a1997b;
$custom-light: #bdb7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1997b",
  "rgb": {
    "r": 161,
    "g": 153,
    "b": 123
  },
  "hsl": {
    "h": 47.368,
    "s": 16.814,
    "l": 55.686
  },
  "oklch": {
    "l": 0.68178,
    "c": 0.04316,
    "h": 94.9
  },
  "luminance": 0.3179
}

Semantic roles & 50–950 ramp

primary
#A1997B
secondary
#B4B7C4
accent
#7EBA6E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110F
muted
#81807E

Preview Lab

Preview with #A1997B

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

Preview Lab → · Contrast checker → · Palette generator →

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