#A5A774#A5A774

#A5A774 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.4% C 0.070 H 109.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#A5A774
RGBrgb(165, 167, 116)
HSLhsl(62, 22%, 55%)
HSVhsv(62, 31%, 65%)
CMYKcmyk(1.2%, 0%, 30.5%, 34.5%)
CIE-LABlab(67.20, -9.03, 26.21)
CIE-LCHlch(67.20, 27.73, 109.00°)
OKLaboklab(71.41% -0.0237 0.0654)
OKLCHoklch(71.41% 0.07 109.9)
XYZxyz(32.4883, 36.8982, 21.9302)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A774 #7674A7
analogous
#A78F74 #A5A774 #8BA774
triadic
#A5A774 #74A5A7 #A774A5
tetradic
#A5A774 #74A78F #7674A7 #A7748B
square
#A5A774 #74A78F #7674A7 #A7748B
split-complementary
#A5A774 #748BA7 #8F74A7
monochromatic
#61623E #868856 #A5A774 #BDBF99 #D6D6BF

Accessibility & contrast

On white

2.51
#A5A774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#A5A774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A774
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A774#FFFFFF#000000##000000
##A5A7741.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA371
Deuteranopia (green-blind)
#AFA476
Tritanopia (blue-blind)
#ACA19A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5a774;
/* rgb */ color: rgb(165, 167, 116);
/* oklch */ color: oklch(71.4% 0.070 109.9);
Tailwind
colors: {
  custom: {
    50: '#c0c19c',
    500: '#a5a774',
    950: '#000000',
  },
}
SCSS
$custom: #a5a774;
$custom-light: #c0c19c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a774",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 116
  },
  "hsl": {
    "h": 62.353,
    "s": 22.467,
    "l": 55.49
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.06956,
    "h": 109.9
  },
  "luminance": 0.36898
}

Semantic roles & 50–950 ramp

primary
#A5A774
secondary
#B2B1C6
accent
#69BF6C
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A774

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

Preview Lab → · Contrast checker → · Palette generator →

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