#A8A46A#A8A46A

#A8A46A is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.078 H 104.8°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A8A46A
RGBrgb(168, 164, 106)
HSLhsl(56, 26%, 54%)
HSVhsv(56, 37%, 66%)
CMYKcmyk(0%, 2.4%, 36.9%, 34.1%)
CIE-LABlab(66.46, -7.49, 30.64)
CIE-LCHlch(66.46, 31.54, 103.73°)
OKLaboklab(70.82% -0.0199 0.0754)
OKLCHoklch(70.82% 0.078 104.8)
XYZxyz(32.0258, 35.9171, 18.8785)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A46A #6A6EA8
analogous
#A8856A #A8A46A #8DA86A
triadic
#A8A46A #6AA8A4 #A46AA8
tetradic
#A8A46A #6AA885 #6A6EA8 #A86A8D
square
#A8A46A #6AA885 #6A6EA8 #A86A8D
split-complementary
#A8A46A #6A8DA8 #856AA8
monochromatic
#605D38 #86834E #A8A46A #BFBC91 #D5D3B7

Accessibility & contrast

On white

2.57
#A8A46A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A8A46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A46A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A46A#FFFFFF#000000##000000
##A8A46A1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA066
Deuteranopia (green-blind)
#AFA36C
Tritanopia (blue-blind)
#B19D95
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a46a;
/* rgb */ color: rgb(168, 164, 106);
/* oklch */ color: oklch(70.8% 0.078 104.8);
Tailwind
colors: {
  custom: {
    50: '#c3be95',
    500: '#a8a46a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a46a;
$custom-light: #c3be95;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a46a",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 106
  },
  "hsl": {
    "h": 56.129,
    "s": 26.271,
    "l": 53.725
  },
  "oklch": {
    "l": 0.70821,
    "c": 0.07797,
    "h": 104.8
  },
  "luminance": 0.35916
}

Semantic roles & 50–950 ramp

primary
#A8A46A
secondary
#AAABC4
accent
#6BC365
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A8A46A

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

Preview Lab → · Contrast checker → · Palette generator →

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