#A5A974#A5A974

#A5A974 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.072 H 111.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#A5A974
RGBrgb(165, 169, 116)
HSLhsl(65, 24%, 56%)
HSVhsv(65, 31%, 66%)
CMYKcmyk(2.4%, 0%, 31.4%, 33.7%)
CIE-LABlab(67.75, -10.08, 26.95)
CIE-LCHlch(67.75, 28.77, 110.52°)
OKLaboklab(71.84% -0.0267 0.0671)
OKLCHoklch(71.84% 0.072 111.7)
XYZxyz(32.8575, 37.6366, 22.0533)
Luminance0.3764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A974 #7874A9
analogous
#A99274 #A5A974 #8AA974
triadic
#A5A974 #74A5A9 #A974A5
tetradic
#A5A974 #74A992 #7874A9 #A9748A
square
#A5A974 #74A992 #7874A9 #A9748A
split-complementary
#A5A974 #748AA9 #9274A9
monochromatic
#62643E #868A56 #A5A974 #BDC09A #D6D8C0

Accessibility & contrast

On white

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

On black

8.53
#A5A974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A974
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A974#FFFFFF#000000##000000
##A5A9741.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A470
Deuteranopia (green-blind)
#B1A676
Tritanopia (blue-blind)
#ACA39B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5a974;
/* rgb */ color: rgb(165, 169, 116);
/* oklch */ color: oklch(71.8% 0.072 111.7);
Tailwind
colors: {
  custom: {
    50: '#c0c29c',
    500: '#a5a974',
    950: '#000000',
  },
}
SCSS
$custom: #a5a974;
$custom-light: #c0c29c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a974",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 116
  },
  "hsl": {
    "h": 64.528,
    "s": 23.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.71844,
    "c": 0.07223,
    "h": 111.7
  },
  "luminance": 0.37636
}

Semantic roles & 50–950 ramp

primary
#A5A974
secondary
#B3B1C7
accent
#68C06E
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A974

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

Preview Lab → · Contrast checker → · Palette generator →

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