#A8A76F#A8A76F

#A8A76F is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.076 H 107.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A8A76F
RGBrgb(168, 167, 111)
HSLhsl(59, 25%, 55%)
HSVhsv(59, 34%, 66%)
CMYKcmyk(0%, 0.6%, 33.9%, 34.1%)
CIE-LABlab(67.36, -8.47, 29.15)
CIE-LCHlch(67.36, 30.36, 106.20°)
OKLaboklab(71.56% -0.0224 0.0721)
OKLCHoklch(71.56% 0.076 107.3)
XYZxyz(32.8367, 37.1106, 20.4691)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A76F #6F70A8
analogous
#A88A6F #A8A76F #8DA86F
triadic
#A8A76F #6FA8A7 #A76FA8
tetradic
#A8A76F #6FA88A #6F70A8 #A86F8D
square
#A8A76F #6FA88A #6F70A8 #A86F8D
split-complementary
#A8A76F #6F8DA8 #8A6FA8
monochromatic
#62613B #888752 #A8A76F #BFBE95 #D6D6BB

Accessibility & contrast

On white

2.49
#A8A76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A8A76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A76F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A76F#FFFFFF#000000##000000
##A8A76F1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36B
Deuteranopia (green-blind)
#B1A571
Tritanopia (blue-blind)
#B0A099
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a76f;
/* rgb */ color: rgb(168, 167, 111);
/* oklch */ color: oklch(71.6% 0.076 107.3);
Tailwind
colors: {
  custom: {
    50: '#c2c199',
    500: '#a8a76f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a76f;
$custom-light: #c2c199;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a76f",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 111
  },
  "hsl": {
    "h": 58.947,
    "s": 24.675,
    "l": 54.706
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.07552,
    "h": 107.3
  },
  "luminance": 0.3711
}

Semantic roles & 50–950 ramp

primary
#A8A76F
secondary
#ADAEC5
accent
#68C167
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A76F

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

Preview Lab → · Contrast checker → · Palette generator →

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