#A5986B#A5986B

#A5986B is a light, moderate yellow. Relative luminance 0.315; OKLCH L 68.0% C 0.063 H 93.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A5986B
RGBrgb(165, 152, 107)
HSLhsl(47, 24%, 53%)
HSVhsv(47, 35%, 65%)
CMYKcmyk(0%, 7.9%, 35.2%, 35.3%)
CIE-LABlab(62.94, -2.12, 25.45)
CIE-LCHlch(62.94, 25.54, 94.77°)
OKLaboklab(67.98% -0.0043 0.0633)
OKLCHoklch(67.98% 0.063 93.9)
XYZxyz(29.3996, 31.5182, 18.4420)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5986B #6B78A5
analogous
#A57B6B #A5986B #95A56B
triadic
#A5986B #6BA598 #986BA5
tetradic
#A5986B #6BA57B #6B78A5 #A56B95
square
#A5986B #6BA57B #6B78A5 #A56B95
split-complementary
#A5986B #6B95A5 #7B6BA5
monochromatic
#5D5539 #837850 #A5986B #BCB291 #D3CDB7

Accessibility & contrast

On white

2.88
#A5986B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#A5986B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5986B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5986B#FFFFFF#000000##000000
##A5986B1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19668
Deuteranopia (green-blind)
#A59A6D
Tritanopia (blue-blind)
#AE918C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a5986b;
/* rgb */ color: rgb(165, 152, 107);
/* oklch */ color: oklch(68.0% 0.063 93.9);
Tailwind
colors: {
  custom: {
    50: '#c0b695',
    500: '#a5986b',
    950: '#000000',
  },
}
SCSS
$custom: #a5986b;
$custom-light: #c0b695;
$custom-dark: #000000;
JSON
{
  "hex": "#a5986b",
  "rgb": {
    "r": 165,
    "g": 152,
    "b": 107
  },
  "hsl": {
    "h": 46.552,
    "s": 24.37,
    "l": 53.333
  },
  "oklch": {
    "l": 0.67983,
    "c": 0.06348,
    "h": 93.9
  },
  "luminance": 0.31517
}

Semantic roles & 50–950 ramp

primary
#A5986B
secondary
#A9AFC2
accent
#7BC167
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12110D
muted
#81807E

Preview Lab

Preview with #A5986B

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

Preview Lab → · Contrast checker → · Palette generator →

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