#A5A96B#A5A96B

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

Color values

HEX#A5A96B
RGBrgb(165, 169, 107)
HSLhsl(64, 26%, 54%)
HSVhsv(64, 37%, 66%)
CMYKcmyk(2.4%, 0%, 36.7%, 33.7%)
CIE-LABlab(67.60, -11.23, 31.55)
CIE-LCHlch(67.60, 33.49, 109.59°)
OKLaboklab(71.68% -0.0305 0.0775)
OKLCHoklch(71.68% 0.083 111.5)
XYZxyz(32.3591, 37.4373, 19.4285)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A96B #6F6BA9
analogous
#A98E6B #A5A96B #86A96B
triadic
#A5A96B #6BA5A9 #A96BA5
tetradic
#A5A96B #6BA98E #6F6BA9 #A96B86
square
#A5A96B #6BA98E #6F6BA9 #A96B86
split-complementary
#A5A96B #6B86A9 #8E6BA9
monochromatic
#5F6138 #84884F #A5A96B #BDBF92 #D4D6B8

Accessibility & contrast

On white

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

On black

8.49
#A5A96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A96B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A96B#FFFFFF#000000##000000
##A5A96B1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A466
Deuteranopia (green-blind)
#B2A66E
Tritanopia (blue-blind)
#ADA299
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5a96b;
/* rgb */ color: rgb(165, 169, 107);
/* oklch */ color: oklch(71.7% 0.083 111.5);
Tailwind
colors: {
  custom: {
    50: '#c0c296',
    500: '#a5a96b',
    950: '#000000',
  },
}
SCSS
$custom: #a5a96b;
$custom-light: #c0c296;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a96b",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 107
  },
  "hsl": {
    "h": 63.871,
    "s": 26.496,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71677,
    "c": 0.0833,
    "h": 111.5
  },
  "luminance": 0.37437
}

Semantic roles & 50–950 ramp

primary
#A5A96B
secondary
#ACABC5
accent
#65C36B
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A96B

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

Preview Lab → · Contrast checker → · Palette generator →

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