#A5A161#A5A161

#A5A161 is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.8% C 0.085 H 105.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A5A161
RGBrgb(165, 161, 97)
HSLhsl(56, 27%, 51%)
HSVhsv(56, 41%, 65%)
CMYKcmyk(0%, 2.4%, 41.2%, 35.3%)
CIE-LABlab(65.24, -8.17, 33.80)
CIE-LCHlch(65.24, 34.77, 103.58°)
OKLaboklab(69.75% -0.0225 0.0822)
OKLCHoklch(69.75% 0.085 105.3)
XYZxyz(30.4201, 34.3529, 16.3353)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A161 #6165A5
analogous
#A57F61 #A5A161 #87A561
triadic
#A5A161 #61A5A1 #A161A5
tetradic
#A5A161 #61A57F #6165A5 #A56187
square
#A5A161 #61A57F #6165A5 #A56187
split-complementary
#A5A161 #6187A5 #7F61A5
monochromatic
#595733 #807D49 #A5A161 #BBB888 #D1CFAF

Accessibility & contrast

On white

2.67
#A5A161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A5A161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A161
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A161#FFFFFF#000000##000000
##A5A1611.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D5C
Deuteranopia (green-blind)
#ADA064
Tritanopia (blue-blind)
#AE9991
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a161;
/* rgb */ color: rgb(165, 161, 97);
/* oklch */ color: oklch(69.8% 0.085 105.3);
Tailwind
colors: {
  custom: {
    50: '#c1bc8f',
    500: '#a5a161',
    950: '#000000',
  },
}
SCSS
$custom: #a5a161;
$custom-light: #c1bc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a161",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 97
  },
  "hsl": {
    "h": 56.471,
    "s": 27.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.69751,
    "c": 0.0852,
    "h": 105.3
  },
  "luminance": 0.34352
}

Semantic roles & 50–950 ramp

primary
#A5A161
secondary
#A2A4C0
accent
#6AC464
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A161

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

Preview Lab → · Contrast checker → · Palette generator →

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