#A8A64E#A8A64E

#A8A64E is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.8% C 0.111 H 107.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A8A64E
RGBrgb(168, 166, 78)
HSLhsl(59, 37%, 48%)
HSVhsv(59, 54%, 66%)
CMYKcmyk(0%, 1.2%, 53.6%, 34.1%)
CIE-LABlab(66.63, -11.41, 45.16)
CIE-LCHlch(66.63, 46.58, 104.18°)
OKLaboklab(70.84% -0.0338 0.1057)
OKLCHoklch(70.84% 0.111 107.7)
XYZxyz(31.1606, 36.1482, 12.5421)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A64E #4E50A8
analogous
#A8794E #A8A64E #7DA84E
triadic
#A8A64E #4EA8A6 #A64EA8
tetradic
#A8A64E #4EA879 #4E50A8 #A84E7D
square
#A8A64E #4EA879 #4E50A8 #A84E7D
split-complementary
#A8A64E #4E7DA8 #794EA8
monochromatic
#545327 #7E7D3B #A8A64E #BFBD75 #D2D19E

Accessibility & contrast

On white

2.55
#A8A64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A8A64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A64E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A64E#FFFFFF#000000##000000
##A8A64E1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A045
Deuteranopia (green-blind)
#B4A453
Tritanopia (blue-blind)
#B39D92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a64e;
/* rgb */ color: rgb(168, 166, 78);
/* oklch */ color: oklch(70.8% 0.111 107.7);
Tailwind
colors: {
  custom: {
    50: '#c4c082',
    500: '#a8a64e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a64e;
$custom-light: #c4c082;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a64e",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 78
  },
  "hsl": {
    "h": 58.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7084,
    "c": 0.111,
    "h": 107.7
  },
  "luminance": 0.36147
}

Semantic roles & 50–950 ramp

primary
#A8A64E
secondary
#9394BF
accent
#5ECD5B
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A64E

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

Preview Lab → · Contrast checker → · Palette generator →

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