#A5986F#A5986F

#A5986F is a light, muted yellow. Relative luminance 0.316; OKLCH L 68.1% C 0.059 H 92.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A5986F
RGBrgb(165, 152, 111)
HSLhsl(46, 23%, 54%)
HSVhsv(46, 33%, 65%)
CMYKcmyk(0%, 7.9%, 32.7%, 35.3%)
CIE-LABlab(63.01, -1.61, 23.35)
CIE-LCHlch(63.01, 23.41, 93.94°)
OKLaboklab(68.06% -0.0026 0.0585)
OKLCHoklch(68.06% 0.059 92.6)
XYZxyz(29.6149, 31.6043, 19.5761)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5986F #6F7CA5
analogous
#A57D6F #A5986F #97A56F
triadic
#A5986F #6FA598 #986FA5
tetradic
#A5986F #6FA57D #6F7CA5 #A56F97
square
#A5986F #6FA57D #6F7CA5 #A56F97
split-complementary
#A5986F #6F97A5 #7D6FA5
monochromatic
#5F563B #847853 #A5986F #BDB395 #D4CEBA

Accessibility & contrast

On white

2.87
#A5986F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#A5986F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5986F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5986F#FFFFFF#000000##000000
##A5986F1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1966C
Deuteranopia (green-blind)
#A49A70
Tritanopia (blue-blind)
#AD928D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a5986f;
/* rgb */ color: rgb(165, 152, 111);
/* oklch */ color: oklch(68.1% 0.059 92.6);
Tailwind
colors: {
  custom: {
    50: '#c0b698',
    500: '#a5986f',
    950: '#000000',
  },
}
SCSS
$custom: #a5986f;
$custom-light: #c0b698;
$custom-dark: #000000;
JSON
{
  "hex": "#a5986f",
  "rgb": {
    "r": 165,
    "g": 152,
    "b": 111
  },
  "hsl": {
    "h": 45.556,
    "s": 23.077,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68064,
    "c": 0.05854,
    "h": 92.6
  },
  "luminance": 0.31604
}

Semantic roles & 50–950 ramp

primary
#A5986F
secondary
#ACB2C3
accent
#7DC068
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12110D
muted
#81807E

Preview Lab

Preview with #A5986F

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

Preview Lab → · Contrast checker → · Palette generator →

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