#A5A581#A5A581

#A5A581 is a light, muted yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.050 H 107.6°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A5A581
RGBrgb(165, 165, 129)
HSLhsl(60, 17%, 58%)
HSVhsv(60, 22%, 65%)
CMYKcmyk(0%, 0%, 21.8%, 35.3%)
CIE-LABlab(66.90, -6.12, 18.73)
CIE-LCHlch(66.90, 19.70, 108.11°)
OKLaboklab(71.25% -0.0151 0.0476)
OKLCHoklch(71.25% 0.05 107.6)
XYZxyz(32.9345, 36.4950, 26.0739)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A581 #8181A5
analogous
#A59381 #A5A581 #93A581
triadic
#A5A581 #81A5A5 #A581A5
tetradic
#A5A581 #81A593 #8181A5 #A58193
square
#A5A581 #81A593 #8181A5 #A58193
split-complementary
#A5A581 #8193A5 #9381A5
monochromatic
#646447 #888861 #A5A581 #BFBFA5 #D8D8C8

Accessibility & contrast

On white

2.53
#A5A581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A5A581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A581
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A581#FFFFFF#000000##000000
##A5A5811.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA27F
Deuteranopia (green-blind)
#ACA482
Tritanopia (blue-blind)
#AAA09B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a581;
/* rgb */ color: rgb(165, 165, 129);
/* oklch */ color: oklch(71.2% 0.050 107.6);
Tailwind
colors: {
  custom: {
    50: '#c0bfa5',
    500: '#a5a581',
    950: '#000000',
  },
}
SCSS
$custom: #a5a581;
$custom-light: #c0bfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a581",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 129
  },
  "hsl": {
    "h": 60,
    "s": 16.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.71245,
    "c": 0.04998,
    "h": 107.6
  },
  "luminance": 0.36495
}

Semantic roles & 50–950 ramp

primary
#A5A581
secondary
#BABAC8
accent
#6EB96E
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #A5A581

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

Preview Lab → · Contrast checker → · Palette generator →

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