#A8A674#A8A674

#A8A674 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.4% C 0.068 H 106.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A8A674
RGBrgb(168, 166, 116)
HSLhsl(58, 23%, 56%)
HSVhsv(58, 31%, 66%)
CMYKcmyk(0%, 1.2%, 31%, 34.1%)
CIE-LABlab(67.17, -7.30, 26.22)
CIE-LCHlch(67.17, 27.22, 105.55°)
OKLaboklab(71.44% -0.0188 0.0654)
OKLCHoklch(71.44% 0.068 106.1)
XYZxyz(32.9373, 36.8588, 21.8990)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A674 #7476A8
analogous
#A88C74 #A8A674 #90A874
triadic
#A8A674 #74A8A6 #A674A8
tetradic
#A8A674 #74A88C #7476A8 #A87490
square
#A8A674 #74A88C #7476A8 #A87490
split-complementary
#A8A674 #7490A8 #8C74A8
monochromatic
#63623E #898756 #A8A674 #C0BE9A #D7D6BF

Accessibility & contrast

On white

2.51
#A8A674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A8A674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A674
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A674#FFFFFF#000000##000000
##A8A6741.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA271
Deuteranopia (green-blind)
#B0A576
Tritanopia (blue-blind)
#AFA099
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a674;
/* rgb */ color: rgb(168, 166, 116);
/* oklch */ color: oklch(71.4% 0.068 106.1);
Tailwind
colors: {
  custom: {
    50: '#c2c09c',
    500: '#a8a674',
    950: '#000000',
  },
}
SCSS
$custom: #a8a674;
$custom-light: #c2c09c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a674",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 116
  },
  "hsl": {
    "h": 57.692,
    "s": 23.009,
    "l": 55.686
  },
  "oklch": {
    "l": 0.71442,
    "c": 0.06805,
    "h": 106.1
  },
  "luminance": 0.36858
}

Semantic roles & 50–950 ramp

primary
#A8A674
secondary
#B1B2C7
accent
#6CBF68
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A674

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

Preview Lab → · Contrast checker → · Palette generator →

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