#A5A166#A5A166

#A5A166 is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.8% C 0.079 H 104.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A5A166
RGBrgb(165, 161, 102)
HSLhsl(56, 26%, 52%)
HSVhsv(56, 38%, 65%)
CMYKcmyk(0%, 2.4%, 38.2%, 35.3%)
CIE-LABlab(65.32, -7.59, 31.25)
CIE-LCHlch(65.32, 32.16, 103.66°)
OKLaboklab(69.84% -0.0204 0.0766)
OKLCHoklch(69.84% 0.079 104.9)
XYZxyz(30.6606, 34.4491, 17.6020)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A166 #666AA5
analogous
#A58166 #A5A166 #8AA566
triadic
#A5A166 #66A5A1 #A166A5
tetradic
#A5A166 #66A581 #666AA5 #A5668A
square
#A5A166 #66A581 #666AA5 #A5668A
split-complementary
#A5A166 #668AA5 #8166A5
monochromatic
#5B5936 #827E4C #A5A166 #BCB98D #D2D0B3

Accessibility & contrast

On white

2.66
#A5A166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A5A166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A166
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A166#FFFFFF#000000##000000
##A5A1661.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D62
Deuteranopia (green-blind)
#ACA068
Tritanopia (blue-blind)
#AE9A92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a166;
/* rgb */ color: rgb(165, 161, 102);
/* oklch */ color: oklch(69.8% 0.079 104.9);
Tailwind
colors: {
  custom: {
    50: '#c1bc92',
    500: '#a5a166',
    950: '#000000',
  },
}
SCSS
$custom: #a5a166;
$custom-light: #c1bc92;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a166",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 56.19,
    "s": 25.926,
    "l": 52.353
  },
  "oklch": {
    "l": 0.69836,
    "c": 0.07929,
    "h": 104.9
  },
  "luminance": 0.34448
}

Semantic roles & 50–950 ramp

primary
#A5A166
secondary
#A6A7C1
accent
#6BC265
background
#FBFBF9
surface
#F7F6F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A166

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

Preview Lab → · Contrast checker → · Palette generator →

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