#A8A76A#A8A76A

#A8A76A is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.082 H 107.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A8A76A
RGBrgb(168, 167, 106)
HSLhsl(59, 26%, 54%)
HSVhsv(59, 37%, 66%)
CMYKcmyk(0%, 0.6%, 36.9%, 34.1%)
CIE-LABlab(67.28, -9.08, 31.71)
CIE-LCHlch(67.28, 32.98, 105.98°)
OKLaboklab(71.47% -0.0245 0.0778)
OKLCHoklch(71.47% 0.082 107.5)
XYZxyz(32.5691, 37.0035, 19.0596)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A76A #6A6BA8
analogous
#A8886A #A8A76A #8AA86A
triadic
#A8A76A #6AA8A7 #A76AA8
tetradic
#A8A76A #6AA888 #6A6BA8 #A86A8A
square
#A8A76A #6AA888 #6A6BA8 #A86A8A
split-complementary
#A8A76A #6A8AA8 #886AA8
monochromatic
#605F38 #86854E #A8A76A #BFBE91 #D5D5B7

Accessibility & contrast

On white

2.50
#A8A76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A8A76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A76A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A76A#FFFFFF#000000##000000
##A8A76A1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A266
Deuteranopia (green-blind)
#B2A56D
Tritanopia (blue-blind)
#B0A098
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a76a;
/* rgb */ color: rgb(168, 167, 106);
/* oklch */ color: oklch(71.5% 0.082 107.5);
Tailwind
colors: {
  custom: {
    50: '#c3c195',
    500: '#a8a76a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a76a;
$custom-light: #c3c195;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a76a",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 106
  },
  "hsl": {
    "h": 59.032,
    "s": 26.271,
    "l": 53.725
  },
  "oklch": {
    "l": 0.71474,
    "c": 0.08159,
    "h": 107.5
  },
  "luminance": 0.37003
}

Semantic roles & 50–950 ramp

primary
#A8A76A
secondary
#AAAAC4
accent
#67C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A8A76A

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

Preview Lab → · Contrast checker → · Palette generator →

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