#A7A366#A7A366

#A7A366 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.4% C 0.082 H 105.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A7A366
RGBrgb(167, 163, 102)
HSLhsl(56, 27%, 53%)
HSVhsv(56, 39%, 65%)
CMYKcmyk(0%, 2.4%, 38.9%, 34.5%)
CIE-LABlab(66.04, -7.84, 32.21)
CIE-LCHlch(66.04, 33.15, 103.67°)
OKLaboklab(70.45% -0.0212 0.0788)
OKLCHoklch(70.45% 0.082 105.1)
XYZxyz(31.4323, 35.3699, 17.7391)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A366 #666AA7
analogous
#A78366 #A7A366 #8AA766
triadic
#A7A366 #66A7A3 #A366A7
tetradic
#A7A366 #66A783 #666AA7 #A7668A
square
#A7A366 #66A783 #666AA7 #A7668A
split-complementary
#A7A366 #668AA7 #8366A7
monochromatic
#5D5B36 #84804C #A7A366 #BDBA8D #D4D2B4

Accessibility & contrast

On white

2.60
#A7A366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A7A366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A366
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A366#FFFFFF#000000##000000
##A7A3661.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F61
Deuteranopia (green-blind)
#AFA269
Tritanopia (blue-blind)
#B09C94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a366;
/* rgb */ color: rgb(167, 163, 102);
/* oklch */ color: oklch(70.4% 0.082 105.1);
Tailwind
colors: {
  custom: {
    50: '#c2be92',
    500: '#a7a366',
    950: '#000000',
  },
}
SCSS
$custom: #a7a366;
$custom-light: #c2be92;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a366",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 56.308,
    "s": 26.971,
    "l": 52.745
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.08159,
    "h": 105.1
  },
  "luminance": 0.35369
}

Semantic roles & 50–950 ramp

primary
#A7A366
secondary
#A6A8C2
accent
#6AC364
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A7A366

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

Preview Lab → · Contrast checker → · Palette generator →

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