#A5A766#A5A766

#A5A766 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.2% C 0.087 H 109.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A5A766
RGBrgb(165, 167, 102)
HSLhsl(62, 27%, 53%)
HSVhsv(62, 39%, 65%)
CMYKcmyk(1.2%, 0%, 38.9%, 34.5%)
CIE-LABlab(66.97, -10.77, 33.37)
CIE-LCHlch(66.97, 35.07, 107.89°)
OKLaboklab(71.15% -0.0295 0.0815)
OKLCHoklch(71.15% 0.087 109.9)
XYZxyz(31.7344, 36.5966, 17.9599)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A766 #6866A7
analogous
#A78866 #A5A766 #84A766
triadic
#A5A766 #66A5A7 #A766A5
tetradic
#A5A766 #66A788 #6866A7 #A76684
square
#A5A766 #66A788 #6866A7 #A76684
split-complementary
#A5A766 #6684A7 #8866A7
monochromatic
#5C5D36 #82844C #A5A766 #BCBD8D #D3D4B4

Accessibility & contrast

On white

2.52
#A5A766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A5A766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A766
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A766#FFFFFF#000000##000000
##A5A7661.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A261
Deuteranopia (green-blind)
#B1A469
Tritanopia (blue-blind)
#ADA097
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a766;
/* rgb */ color: rgb(165, 167, 102);
/* oklch */ color: oklch(71.2% 0.087 109.9);
Tailwind
colors: {
  custom: {
    50: '#c1c192',
    500: '#a5a766',
    950: '#000000',
  },
}
SCSS
$custom: #a5a766;
$custom-light: #c1c192;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a766",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 102
  },
  "hsl": {
    "h": 61.846,
    "s": 26.971,
    "l": 52.745
  },
  "oklch": {
    "l": 0.71151,
    "c": 0.08666,
    "h": 109.9
  },
  "luminance": 0.36596
}

Semantic roles & 50–950 ramp

primary
#A5A766
secondary
#A7A6C2
accent
#64C367
background
#FBFBF9
surface
#F7F7F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A766

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

Preview Lab → · Contrast checker → · Palette generator →

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