#A8A161#A8A161

#A8A161 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.085 H 102.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A8A161
RGBrgb(168, 161, 97)
HSLhsl(54, 29%, 52%)
HSVhsv(54, 42%, 66%)
CMYKcmyk(0%, 4.2%, 42.3%, 34.1%)
CIE-LABlab(65.50, -6.92, 34.18)
CIE-LCHlch(65.50, 34.87, 101.44°)
OKLaboklab(70.02% -0.019 0.083)
OKLCHoklch(70.02% 0.085 102.9)
XYZxyz(31.0516, 34.6785, 16.3649)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A161 #6168A8
analogous
#A87E61 #A8A161 #8CA861
triadic
#A8A161 #61A8A1 #A161A8
tetradic
#A8A161 #61A87E #6168A8 #A8618C
square
#A8A161 #61A87E #6168A8 #A8618C
split-complementary
#A8A161 #618CA8 #7E61A8
monochromatic
#5C5833 #837E48 #A8A161 #BEB888 #D3D0B0

Accessibility & contrast

On white

2.65
#A8A161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A8A161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A161
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A161#FFFFFF#000000##000000
##A8A1611.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5C
Deuteranopia (green-blind)
#AEA164
Tritanopia (blue-blind)
#B29991
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a161;
/* rgb */ color: rgb(168, 161, 97);
/* oklch */ color: oklch(70.0% 0.085 102.9);
Tailwind
colors: {
  custom: {
    50: '#c3bc8f',
    500: '#a8a161',
    950: '#000000',
  },
}
SCSS
$custom: #a8a161;
$custom-light: #c3bc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a161",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 97
  },
  "hsl": {
    "h": 54.085,
    "s": 28.98,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70016,
    "c": 0.08515,
    "h": 102.9
  },
  "luminance": 0.34678
}

Semantic roles & 50–950 ramp

primary
#A8A161
secondary
#A3A6C2
accent
#6CC563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A161

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

Preview Lab → · Contrast checker → · Palette generator →

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