#A5A976#A5A976

#A5A976 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.070 H 111.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#A5A976
RGBrgb(165, 169, 118)
HSLhsl(65, 23%, 56%)
HSVhsv(65, 30%, 66%)
CMYKcmyk(2.4%, 0%, 30.2%, 33.7%)
CIE-LABlab(67.79, -9.82, 25.92)
CIE-LCHlch(67.79, 27.71, 110.75°)
OKLaboklab(71.88% -0.0259 0.0647)
OKLCHoklch(71.88% 0.07 111.8)
XYZxyz(32.9751, 37.6837, 22.6726)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A976 #7A76A9
analogous
#A99476 #A5A976 #8CA976
triadic
#A5A976 #76A5A9 #A976A5
tetradic
#A5A976 #76A994 #7A76A9 #A9768C
square
#A5A976 #76A994 #7A76A9 #A9768C
split-complementary
#A5A976 #768CA9 #9476A9
monochromatic
#62653F #878B57 #A5A976 #BEC19C #D6D8C1

Accessibility & contrast

On white

2.46
#A5A976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#A5A976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A976
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A976#FFFFFF#000000##000000
##A5A9761.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A473
Deuteranopia (green-blind)
#B1A678
Tritanopia (blue-blind)
#ABA39C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5a976;
/* rgb */ color: rgb(165, 169, 118);
/* oklch */ color: oklch(71.9% 0.070 111.8);
Tailwind
colors: {
  custom: {
    50: '#c0c29e',
    500: '#a5a976',
    950: '#000000',
  },
}
SCSS
$custom: #a5a976;
$custom-light: #c0c29e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a976",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 118
  },
  "hsl": {
    "h": 64.706,
    "s": 22.87,
    "l": 56.275
  },
  "oklch": {
    "l": 0.71883,
    "c": 0.06972,
    "h": 111.8
  },
  "luminance": 0.37683
}

Semantic roles & 50–950 ramp

primary
#A5A976
secondary
#B5B3C8
accent
#68BF6F
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A976

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

Preview Lab → · Contrast checker → · Palette generator →

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