#A5A281#A5A281

#A5A281 is a light, muted yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.046 H 103.2°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A5A281
RGBrgb(165, 162, 129)
HSLhsl(55, 17%, 58%)
HSVhsv(55, 22%, 65%)
CMYKcmyk(0%, 1.8%, 21.8%, 35.3%)
CIE-LABlab(66.08, -4.51, 17.60)
CIE-LCHlch(66.08, 18.17, 104.37°)
OKLaboklab(70.6% -0.0105 0.0449)
OKLCHoklch(70.6% 0.046 103.2)
XYZxyz(32.3997, 35.4254, 25.8956)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A281 #8184A5
analogous
#A59081 #A5A281 #96A581
triadic
#A5A281 #81A5A2 #A281A5
tetradic
#A5A281 #81A590 #8184A5 #A58196
square
#A5A281 #81A590 #8184A5 #A58196
split-complementary
#A5A281 #8196A5 #9081A5
monochromatic
#646247 #888561 #A5A281 #BFBCA5 #D8D7C8

Accessibility & contrast

On white

2.60
#A5A281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A5A281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A281
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A281#FFFFFF#000000##000000
##A5A2811.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89F7F
Deuteranopia (green-blind)
#A9A182
Tritanopia (blue-blind)
#AB9D99
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a281;
/* rgb */ color: rgb(165, 162, 129);
/* oklch */ color: oklch(70.6% 0.046 103.2);
Tailwind
colors: {
  custom: {
    50: '#c0bda5',
    500: '#a5a281',
    950: '#000000',
  },
}
SCSS
$custom: #a5a281;
$custom-light: #c0bda5;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a281",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 129
  },
  "hsl": {
    "h": 55,
    "s": 16.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.70598,
    "c": 0.0461,
    "h": 103.2
  },
  "luminance": 0.35425
}

Semantic roles & 50–950 ramp

primary
#A5A281
secondary
#BABBC8
accent
#75B96E
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #A5A281

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

Preview Lab → · Contrast checker → · Palette generator →

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