#A8A166#A8A166

#A8A166 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.079 H 102.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A8A166
RGBrgb(168, 161, 102)
HSLhsl(54, 28%, 53%)
HSVhsv(54, 39%, 66%)
CMYKcmyk(0%, 4.2%, 39.3%, 34.1%)
CIE-LABlab(65.57, -6.36, 31.63)
CIE-LCHlch(65.57, 32.26, 101.36°)
OKLaboklab(70.1% -0.017 0.0775)
OKLCHoklch(70.1% 0.079 102.4)
XYZxyz(31.2921, 34.7747, 17.6316)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A166 #666DA8
analogous
#A88066 #A8A166 #8EA866
triadic
#A8A166 #66A8A1 #A166A8
tetradic
#A8A166 #66A880 #666DA8 #A8668E
square
#A8A166 #66A880 #666DA8 #A8668E
split-complementary
#A8A166 #668EA8 #8066A8
monochromatic
#5E5A36 #857F4C #A8A166 #BEB98D #D4D1B4

Accessibility & contrast

On white

2.64
#A8A166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A8A166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A166
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A166#FFFFFF#000000##000000
##A8A1661.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a166;
/* rgb */ color: rgb(168, 161, 102);
/* oklch */ color: oklch(70.1% 0.079 102.4);
Tailwind
colors: {
  custom: {
    50: '#c3bc92',
    500: '#a8a166',
    950: '#000000',
  },
}
SCSS
$custom: #a8a166;
$custom-light: #c3bc92;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a166",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 53.636,
    "s": 27.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.701,
    "c": 0.07931,
    "h": 102.4
  },
  "luminance": 0.34774
}

Semantic roles & 50–950 ramp

primary
#A8A166
secondary
#A7AAC3
accent
#6EC464
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #A8A166

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

Preview Lab → · Contrast checker → · Palette generator →

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