#A5A96D#A5A96D

#A5A96D is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.7% C 0.081 H 111.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#A5A96D
RGBrgb(165, 169, 109)
HSLhsl(64, 26%, 55%)
HSVhsv(64, 36%, 66%)
CMYKcmyk(2.4%, 0%, 35.5%, 33.7%)
CIE-LABlab(67.64, -10.98, 30.53)
CIE-LCHlch(67.64, 32.45, 109.79°)
OKLaboklab(71.71% -0.0297 0.0753)
OKLCHoklch(71.71% 0.081 111.5)
XYZxyz(32.4656, 37.4799, 19.9891)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A96D #716DA9
analogous
#A98F6D #A5A96D #87A96D
triadic
#A5A96D #6DA5A9 #A96DA5
tetradic
#A5A96D #6DA98F #716DA9 #A96D87
square
#A5A96D #6DA98F #716DA9 #A96D87
split-complementary
#A5A96D #6D87A9 #8F6DA9
monochromatic
#5F623A #858850 #A5A96D #BDC094 #D4D6BA

Accessibility & contrast

On white

2.47
#A5A96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#A5A96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A96D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A96D#FFFFFF#000000##000000
##A5A96D1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A469
Deuteranopia (green-blind)
#B2A670
Tritanopia (blue-blind)
#ACA29A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5a96d;
/* rgb */ color: rgb(165, 169, 109);
/* oklch */ color: oklch(71.7% 0.081 111.5);
Tailwind
colors: {
  custom: {
    50: '#c0c297',
    500: '#a5a96d',
    950: '#000000',
  },
}
SCSS
$custom: #a5a96d;
$custom-light: #c0c297;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a96d",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 109
  },
  "hsl": {
    "h": 64,
    "s": 25.862,
    "l": 54.51
  },
  "oklch": {
    "l": 0.71713,
    "c": 0.08088,
    "h": 111.5
  },
  "luminance": 0.37479
}

Semantic roles & 50–950 ramp

primary
#A5A96D
secondary
#AEACC6
accent
#66C26C
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A96D

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

Preview Lab → · Contrast checker → · Palette generator →

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