#A5A770#A5A770

#A5A770 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.3% C 0.075 H 109.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A5A770
RGBrgb(165, 167, 112)
HSLhsl(62, 24%, 55%)
HSVhsv(62, 33%, 65%)
CMYKcmyk(1.2%, 0%, 32.9%, 34.5%)
CIE-LABlab(67.13, -9.55, 28.27)
CIE-LCHlch(67.13, 29.84, 108.67°)
OKLaboklab(71.33% -0.0254 0.0701)
OKLCHoklch(71.33% 0.075 109.9)
XYZxyz(32.2606, 36.8071, 20.7311)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A770 #7270A7
analogous
#A78E70 #A5A770 #8AA770
triadic
#A5A770 #70A5A7 #A770A5
tetradic
#A5A770 #70A78E #7270A7 #A7708A
square
#A5A770 #70A78E #7270A7 #A7708A
split-complementary
#A5A770 #708AA7 #8E70A7
monochromatic
#60613C #858753 #A5A770 #BDBE96 #D5D6BC

Accessibility & contrast

On white

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

On black

8.36
#A5A770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A770
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A770#FFFFFF#000000##000000
##A5A7701.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA26C
Deuteranopia (green-blind)
#B0A472
Tritanopia (blue-blind)
#ACA199
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a770;
/* rgb */ color: rgb(165, 167, 112);
/* oklch */ color: oklch(71.3% 0.075 109.9);
Tailwind
colors: {
  custom: {
    50: '#c0c199',
    500: '#a5a770',
    950: '#000000',
  },
}
SCSS
$custom: #a5a770;
$custom-light: #c0c199;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a770",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 112
  },
  "hsl": {
    "h": 62.182,
    "s": 23.81,
    "l": 54.706
  },
  "oklch": {
    "l": 0.71329,
    "c": 0.07457,
    "h": 109.9
  },
  "luminance": 0.36807
}

Semantic roles & 50–950 ramp

primary
#A5A770
secondary
#AFAEC5
accent
#68C06B
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A770

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

Preview Lab → · Contrast checker → · Palette generator →

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