#A8A84C#A8A84C

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

Color values

HEX#A8A84C
RGBrgb(168, 168, 76)
HSLhsl(60, 38%, 48%)
HSVhsv(60, 55%, 66%)
CMYKcmyk(0%, 0%, 54.8%, 34.1%)
CIE-LABlab(67.17, -12.62, 46.73)
CIE-LCHlch(67.17, 48.40, 105.11°)
OKLaboklab(71.26% -0.0375 0.1089)
OKLCHoklch(71.26% 0.115 109)
XYZxyz(31.4564, 36.8527, 12.2923)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A84C #4C4CA8
analogous
#A87A4C #A8A84C #7AA84C
triadic
#A8A84C #4CA8A8 #A84CA8
tetradic
#A8A84C #4CA87A #4C4CA8 #A84C7A
square
#A8A84C #4CA87A #4C4CA8 #A84C7A
split-complementary
#A8A84C #4C7AA8 #7A4CA8
monochromatic
#545426 #7E7E39 #A8A84C #BFBF72 #D2D29C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A84C#FFFFFF#000000##000000
##A8A84C1.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)
#B4A243
Deuteranopia (green-blind)
#B5A551
Tritanopia (blue-blind)
#B39F94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a84c;
/* rgb */ color: rgb(168, 168, 76);
/* oklch */ color: oklch(71.3% 0.115 109.0);
Tailwind
colors: {
  custom: {
    50: '#c4c181',
    500: '#a8a84c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a84c;
$custom-light: #c4c181;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a84c",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71258,
    "c": 0.11515,
    "h": 109
  },
  "luminance": 0.36852
}

Semantic roles & 50–950 ramp

primary
#A8A84C
secondary
#9191BF
accent
#5ACE5A
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A84C

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

Preview Lab → · Contrast checker → · Palette generator →

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