#A1997F#A1997F

#A1997F is a light, muted yellow. Relative luminance 0.319; OKLCH L 68.3% C 0.038 H 92.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A1997F
RGBrgb(161, 153, 127)
HSLhsl(46, 15%, 56%)
HSVhsv(46, 21%, 63%)
CMYKcmyk(0%, 5%, 21.1%, 36.9%)
CIE-LABlab(63.25, -1.48, 14.74)
CIE-LCHlch(63.25, 14.82, 95.74°)
OKLaboklab(68.27% -0.0019 0.0378)
OKLCHoklch(68.27% 0.038 92.9)
XYZxyz(29.9199, 31.8924, 24.6543)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1997F #7F87A1
analogous
#A1887F #A1997F #98A17F
triadic
#A1997F #7FA199 #997FA1
tetradic
#A1997F #7FA188 #7F87A1 #A17F98
square
#A1997F #7FA188 #7F87A1 #A17F98
split-complementary
#A1997F #7F98A1 #887FA1
monochromatic
#5F5A46 #837B60 #A1997F #BBB5A2 #D5D1C6

Accessibility & contrast

On white

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

On black

7.38
#A1997F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1997F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1997F#FFFFFF#000000##000000
##A1997F1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F987D
Deuteranopia (green-blind)
#A19A80
Tritanopia (blue-blind)
#A79592
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a1997f;
/* rgb */ color: rgb(161, 153, 127);
/* oklch */ color: oklch(68.3% 0.038 92.9);
Tailwind
colors: {
  custom: {
    50: '#bdb7a4',
    500: '#a1997f',
    950: '#000000',
  },
}
SCSS
$custom: #a1997f;
$custom-light: #bdb7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1997f",
  "rgb": {
    "r": 161,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 45.882,
    "s": 15.315,
    "l": 56.471
  },
  "oklch": {
    "l": 0.68273,
    "c": 0.03787,
    "h": 92.9
  },
  "luminance": 0.31892
}

Semantic roles & 50–950 ramp

primary
#A1997F
secondary
#B7BAC5
accent
#81B870
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#12110F
muted
#81807F

Preview Lab

Preview with #A1997F

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

Preview Lab → · Contrast checker → · Palette generator →

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