#A5A381#A5A381

#A5A381 is a light, muted yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.047 H 104.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A5A381
RGBrgb(165, 163, 129)
HSLhsl(57, 17%, 58%)
HSVhsv(57, 22%, 65%)
CMYKcmyk(0%, 1.2%, 21.8%, 35.3%)
CIE-LABlab(66.35, -5.05, 17.98)
CIE-LCHlch(66.35, 18.67, 105.69°)
OKLaboklab(70.81% -0.0121 0.0458)
OKLCHoklch(70.81% 0.047 104.8)
XYZxyz(32.5766, 35.7791, 25.9546)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A381 #8183A5
analogous
#A59181 #A5A381 #95A581
triadic
#A5A381 #81A5A3 #A381A5
tetradic
#A5A381 #81A591 #8183A5 #A58195
square
#A5A381 #81A591 #8183A5 #A58195
split-complementary
#A5A381 #8195A5 #9181A5
monochromatic
#646347 #888661 #A5A381 #BFBDA5 #D8D7C8

Accessibility & contrast

On white

2.57
#A5A381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A5A381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A381
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A381#FFFFFF#000000##000000
##A5A3811.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A07F
Deuteranopia (green-blind)
#AAA282
Tritanopia (blue-blind)
#AB9E9A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a381;
/* rgb */ color: rgb(165, 163, 129);
/* oklch */ color: oklch(70.8% 0.047 104.8);
Tailwind
colors: {
  custom: {
    50: '#c0bea5',
    500: '#a5a381',
    950: '#000000',
  },
}
SCSS
$custom: #a5a381;
$custom-light: #c0bea5;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a381",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 129
  },
  "hsl": {
    "h": 56.667,
    "s": 16.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.70813,
    "c": 0.04736,
    "h": 104.8
  },
  "luminance": 0.35779
}

Semantic roles & 50–950 ramp

primary
#A5A381
secondary
#BABAC8
accent
#73B96E
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #A5A381

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

Preview Lab → · Contrast checker → · Palette generator →

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