#A8A668#A8A668

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

Color values

HEX#A8A668
RGBrgb(168, 166, 104)
HSLhsl(58, 27%, 53%)
HSVhsv(58, 38%, 66%)
CMYKcmyk(0%, 1.2%, 38.1%, 34.1%)
CIE-LABlab(66.97, -8.79, 32.37)
CIE-LCHlch(66.97, 33.54, 105.18°)
OKLaboklab(71.22% -0.0238 0.0793)
OKLCHoklch(71.22% 0.083 106.7)
XYZxyz(32.2838, 36.5974, 18.4574)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A668 #686AA8
analogous
#A88668 #A8A668 #8AA868
triadic
#A8A668 #68A8A6 #A668A8
tetradic
#A8A668 #68A886 #686AA8 #A8688A
square
#A8A668 #68A886 #686AA8 #A8688A
split-complementary
#A8A668 #688AA8 #8668A8
monochromatic
#5F5E37 #86844D #A8A668 #BEBD8F #D5D4B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A668#FFFFFF#000000##000000
##A8A6681.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)
#B0A163
Deuteranopia (green-blind)
#B1A46B
Tritanopia (blue-blind)
#B19F97
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a668;
/* rgb */ color: rgb(168, 166, 104);
/* oklch */ color: oklch(71.2% 0.083 106.7);
Tailwind
colors: {
  custom: {
    50: '#c3c094',
    500: '#a8a668',
    950: '#000000',
  },
}
SCSS
$custom: #a8a668;
$custom-light: #c3c094;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a668",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 104
  },
  "hsl": {
    "h": 58.125,
    "s": 26.891,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71221,
    "c": 0.08276,
    "h": 106.7
  },
  "luminance": 0.36597
}

Semantic roles & 50–950 ramp

primary
#A8A668
secondary
#A8A9C4
accent
#68C365
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A8A668

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

Preview Lab → · Contrast checker → · Palette generator →

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