#A8A76B#A8A76B

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

Color values

HEX#A8A76B
RGBrgb(168, 167, 107)
HSLhsl(59, 26%, 54%)
HSVhsv(59, 36%, 66%)
CMYKcmyk(0%, 0.6%, 36.3%, 34.1%)
CIE-LABlab(67.30, -8.96, 31.20)
CIE-LCHlch(67.30, 32.46, 106.02°)
OKLaboklab(71.49% -0.0241 0.0767)
OKLCHoklch(71.49% 0.08 107.5)
XYZxyz(32.6214, 37.0244, 19.3351)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A76B #6B6CA8
analogous
#A8896B #A8A76B #8BA86B
triadic
#A8A76B #6BA8A7 #A76BA8
tetradic
#A8A76B #6BA889 #6B6CA8 #A86B8B
square
#A8A76B #6BA889 #6B6CA8 #A86B8B
split-complementary
#A8A76B #6B8BA8 #896BA8
monochromatic
#605F38 #87864F #A8A76B #BFBE92 #D5D5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A76B#FFFFFF#000000##000000
##A8A76B1.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)
#B0A267
Deuteranopia (green-blind)
#B2A56D
Tritanopia (blue-blind)
#B0A098
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a76b;
/* rgb */ color: rgb(168, 167, 107);
/* oklch */ color: oklch(71.5% 0.080 107.5);
Tailwind
colors: {
  custom: {
    50: '#c3c196',
    500: '#a8a76b',
    950: '#000000',
  },
}
SCSS
$custom: #a8a76b;
$custom-light: #c3c196;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a76b",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 107
  },
  "hsl": {
    "h": 59.016,
    "s": 25.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71492,
    "c": 0.08039,
    "h": 107.5
  },
  "luminance": 0.37024
}

Semantic roles & 50–950 ramp

primary
#A8A76B
secondary
#AAABC4
accent
#67C265
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A8A76B

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

Preview Lab → · Contrast checker → · Palette generator →

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