#A6A563#A6A563

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

Color values

HEX#A6A563
RGBrgb(166, 165, 99)
HSLhsl(59, 27%, 52%)
HSVhsv(59, 40%, 65%)
CMYKcmyk(0%, 0.6%, 40.4%, 34.9%)
CIE-LABlab(66.46, -9.65, 34.31)
CIE-LCHlch(66.46, 35.64, 105.71°)
OKLaboklab(70.75% -0.0266 0.0834)
OKLCHoklch(70.75% 0.088 107.7)
XYZxyz(31.4336, 35.9188, 17.0791)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A563 #6364A6
analogous
#A68463 #A6A563 #86A663
triadic
#A6A563 #63A6A5 #A563A6
tetradic
#A6A563 #63A684 #6364A6 #A66386
square
#A6A563 #63A684 #6364A6 #A66386
split-complementary
#A6A563 #6386A6 #8463A6
monochromatic
#5B5A34 #82814A #A6A563 #BCBB8A #D2D2B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A563#FFFFFF#000000##000000
##A6A5631.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)
#AFA05E
Deuteranopia (green-blind)
#B0A366
Tritanopia (blue-blind)
#AF9D95
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a563;
/* rgb */ color: rgb(166, 165, 99);
/* oklch */ color: oklch(70.7% 0.088 107.7);
Tailwind
colors: {
  custom: {
    50: '#c1bf90',
    500: '#a6a563',
    950: '#000000',
  },
}
SCSS
$custom: #a6a563;
$custom-light: #c1bf90;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a563",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 99
  },
  "hsl": {
    "h": 59.104,
    "s": 27.347,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70747,
    "c": 0.08757,
    "h": 107.7
  },
  "luminance": 0.35918
}

Semantic roles & 50–950 ramp

primary
#A6A563
secondary
#A4A4C1
accent
#66C464
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A6A563

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

Preview Lab → · Contrast checker → · Palette generator →

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