#A5A474#A5A474

#A5A474 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.066 H 107.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A5A474
RGBrgb(165, 164, 116)
HSLhsl(59, 21%, 55%)
HSVhsv(59, 30%, 65%)
CMYKcmyk(0%, 0.6%, 29.7%, 35.3%)
CIE-LABlab(66.38, -7.43, 25.12)
CIE-LCHlch(66.38, 26.19, 106.48°)
OKLaboklab(70.75% -0.0191 0.0628)
OKLCHoklch(70.75% 0.066 107)
XYZxyz(31.9450, 35.8117, 21.7491)
Luminance0.3581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A474 #7475A5
analogous
#A58C74 #A5A474 #8DA574
triadic
#A5A474 #74A5A4 #A474A5
tetradic
#A5A474 #74A58C #7475A5 #A5748D
square
#A5A474 #74A58C #7475A5 #A5748D
split-complementary
#A5A474 #748DA5 #8C74A5
monochromatic
#60603E #858456 #A5A474 #BDBC99 #D5D5BE

Accessibility & contrast

On white

2.57
#A5A474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A5A474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A474
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A474#FFFFFF#000000##000000
##A5A4741.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA071
Deuteranopia (green-blind)
#ADA276
Tritanopia (blue-blind)
#AC9E97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a474;
/* rgb */ color: rgb(165, 164, 116);
/* oklch */ color: oklch(70.8% 0.066 107.0);
Tailwind
colors: {
  custom: {
    50: '#c0be9c',
    500: '#a5a474',
    950: '#000000',
  },
}
SCSS
$custom: #a5a474;
$custom-light: #c0be9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a474",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 116
  },
  "hsl": {
    "h": 58.776,
    "s": 21.397,
    "l": 55.098
  },
  "oklch": {
    "l": 0.70752,
    "c": 0.06565,
    "h": 107
  },
  "luminance": 0.35811
}

Semantic roles & 50–950 ramp

primary
#A5A474
secondary
#B0B1C5
accent
#6CBE6A
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A474

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

Preview Lab → · Contrast checker → · Palette generator →

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