#A8A772#A8A772

#A8A772 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.072 H 107.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A8A772
RGBrgb(168, 167, 114)
HSLhsl(59, 24%, 55%)
HSVhsv(59, 32%, 66%)
CMYKcmyk(0%, 0.6%, 32.1%, 34.1%)
CIE-LABlab(67.41, -8.09, 27.61)
CIE-LCHlch(67.41, 28.77, 106.33°)
OKLaboklab(71.62% -0.0212 0.0686)
OKLCHoklch(71.62% 0.072 107.2)
XYZxyz(33.0047, 37.1778, 21.3537)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A772 #7273A8
analogous
#A88C72 #A8A772 #8EA872
triadic
#A8A772 #72A8A7 #A772A8
tetradic
#A8A772 #72A88C #7273A8 #A8728E
square
#A8A772 #72A88C #7273A8 #A8728E
split-complementary
#A8A772 #728EA8 #8C72A8
monochromatic
#63623D #898854 #A8A772 #BFBF98 #D7D6BE

Accessibility & contrast

On white

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

On black

8.44
#A8A772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A772
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A772#FFFFFF#000000##000000
##A8A7721.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a772;
/* rgb */ color: rgb(168, 167, 114);
/* oklch */ color: oklch(71.6% 0.072 107.2);
Tailwind
colors: {
  custom: {
    50: '#c2c19b',
    500: '#a8a772',
    950: '#000000',
  },
}
SCSS
$custom: #a8a772;
$custom-light: #c2c19b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a772",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 114
  },
  "hsl": {
    "h": 58.889,
    "s": 23.684,
    "l": 55.294
  },
  "oklch": {
    "l": 0.71621,
    "c": 0.07181,
    "h": 107.2
  },
  "luminance": 0.37177
}

Semantic roles & 50–950 ramp

primary
#A8A772
secondary
#B0B0C6
accent
#69C068
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A772

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

Preview Lab → · Contrast checker → · Palette generator →

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