#A8A366#A8A366

#A8A366 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.082 H 104.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A8A366
RGBrgb(168, 163, 102)
HSLhsl(55, 28%, 53%)
HSVhsv(55, 39%, 66%)
CMYKcmyk(0%, 3%, 39.3%, 34.1%)
CIE-LABlab(66.12, -7.42, 32.33)
CIE-LCHlch(66.12, 33.17, 102.93°)
OKLaboklab(70.53% -0.0201 0.0791)
OKLCHoklch(70.53% 0.082 104.2)
XYZxyz(31.6444, 35.4793, 17.7490)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A366 #666BA8
analogous
#A88266 #A8A366 #8CA866
triadic
#A8A366 #66A8A3 #A366A8
tetradic
#A8A366 #66A882 #666BA8 #A8668C
square
#A8A366 #66A882 #666BA8 #A8668C
split-complementary
#A8A366 #668CA8 #8266A8
monochromatic
#5E5B36 #85814C #A8A366 #BEBA8D #D4D2B4

Accessibility & contrast

On white

2.59
#A8A366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A8A366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A366
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A366#FFFFFF#000000##000000
##A8A3661.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F61
Deuteranopia (green-blind)
#AFA268
Tritanopia (blue-blind)
#B19B94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a366;
/* rgb */ color: rgb(168, 163, 102);
/* oklch */ color: oklch(70.5% 0.082 104.2);
Tailwind
colors: {
  custom: {
    50: '#c3be92',
    500: '#a8a366',
    950: '#000000',
  },
}
SCSS
$custom: #a8a366;
$custom-light: #c3be92;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a366",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 55.455,
    "s": 27.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.70534,
    "c": 0.08158,
    "h": 104.2
  },
  "luminance": 0.35479
}

Semantic roles & 50–950 ramp

primary
#A8A366
secondary
#A7A9C3
accent
#6BC464
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #A8A366

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

Preview Lab → · Contrast checker → · Palette generator →

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