#A5A970#A5A970

#A5A970 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.077 H 111.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#A5A970
RGBrgb(165, 169, 112)
HSLhsl(64, 25%, 55%)
HSVhsv(64, 34%, 66%)
CMYKcmyk(2.4%, 0%, 33.7%, 33.7%)
CIE-LABlab(67.68, -10.61, 29.00)
CIE-LCHlch(67.68, 30.88, 110.09°)
OKLaboklab(71.77% -0.0284 0.0718)
OKLCHoklch(71.77% 0.077 111.6)
XYZxyz(32.6298, 37.5456, 20.8542)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A970 #7470A9
analogous
#A99170 #A5A970 #88A970
triadic
#A5A970 #70A5A9 #A970A5
tetradic
#A5A970 #70A991 #7470A9 #A97088
square
#A5A970 #70A991 #7470A9 #A97088
split-complementary
#A5A970 #7088A9 #9170A9
monochromatic
#60633C #858953 #A5A970 #BDC096 #D5D7BC

Accessibility & contrast

On white

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

On black

8.51
#A5A970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A970
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A970#FFFFFF#000000##000000
##A5A9701.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46C
Deuteranopia (green-blind)
#B2A672
Tritanopia (blue-blind)
#ACA29A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5a970;
/* rgb */ color: rgb(165, 169, 112);
/* oklch */ color: oklch(71.8% 0.077 111.6);
Tailwind
colors: {
  custom: {
    50: '#c0c299',
    500: '#a5a970',
    950: '#000000',
  },
}
SCSS
$custom: #a5a970;
$custom-light: #c0c299;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a970",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 112
  },
  "hsl": {
    "h": 64.211,
    "s": 24.891,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71768,
    "c": 0.07722,
    "h": 111.6
  },
  "luminance": 0.37545
}

Semantic roles & 50–950 ramp

primary
#A5A970
secondary
#B0AEC6
accent
#66C16D
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A970

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

Preview Lab → · Contrast checker → · Palette generator →

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