#A8A666#A8A666

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

Color values

HEX#A8A666
RGBrgb(168, 166, 102)
HSLhsl(58, 28%, 53%)
HSVhsv(58, 39%, 66%)
CMYKcmyk(0%, 1.2%, 39.3%, 34.1%)
CIE-LABlab(66.94, -9.02, 33.39)
CIE-LCHlch(66.94, 34.58, 105.11°)
OKLaboklab(71.19% -0.0246 0.0815)
OKLCHoklch(71.19% 0.085 106.8)
XYZxyz(32.1834, 36.5573, 17.9287)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A666 #6668A8
analogous
#A88566 #A8A666 #89A866
triadic
#A8A666 #66A8A6 #A666A8
tetradic
#A8A666 #66A885 #6668A8 #A86689
square
#A8A666 #66A885 #6668A8 #A86689
split-complementary
#A8A666 #6689A8 #8566A8
monochromatic
#5E5D36 #85834C #A8A666 #BEBD8D #D4D3B4

Accessibility & contrast

On white

2.53
#A8A666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A8A666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A666
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A666#FFFFFF#000000##000000
##A8A6661.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a666;
/* rgb */ color: rgb(168, 166, 102);
/* oklch */ color: oklch(71.2% 0.085 106.8);
Tailwind
colors: {
  custom: {
    50: '#c3c092',
    500: '#a8a666',
    950: '#000000',
  },
}
SCSS
$custom: #a8a666;
$custom-light: #c3c092;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a666",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 102
  },
  "hsl": {
    "h": 58.182,
    "s": 27.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71187,
    "c": 0.08511,
    "h": 106.8
  },
  "luminance": 0.36557
}

Semantic roles & 50–950 ramp

primary
#A8A666
secondary
#A7A7C3
accent
#67C464
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #A8A666

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

Preview Lab → · Contrast checker → · Palette generator →

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