#A6A657#A6A657

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

Color values

HEX#A6A657
RGBrgb(166, 166, 87)
HSLhsl(60, 31%, 50%)
HSVhsv(60, 48%, 65%)
CMYKcmyk(0%, 0%, 47.6%, 34.9%)
CIE-LABlab(66.57, -11.43, 40.61)
CIE-LCHlch(66.57, 42.19, 105.72°)
OKLaboklab(70.79% -0.0328 0.0967)
OKLCHoklch(70.79% 0.102 108.7)
XYZxyz(31.0830, 36.0683, 14.3395)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A657 #5757A6
analogous
#A67F57 #A6A657 #7FA657
triadic
#A6A657 #57A6A6 #A657A6
tetradic
#A6A657 #57A67F #5757A6 #A6577F
square
#A6A657 #57A67F #5757A6 #A6577F
split-complementary
#A6A657 #577FA6 #7F57A6
monochromatic
#56562D #7E7E42 #A6A657 #BCBC7F #D1D1A7

Accessibility & contrast

On white

2.56
#A6A657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A6A657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A657
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A657#FFFFFF#000000##000000
##A6A6571.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A050
Deuteranopia (green-blind)
#B2A35B
Tritanopia (blue-blind)
#B09D94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a657;
/* rgb */ color: rgb(166, 166, 87);
/* oklch */ color: oklch(70.8% 0.102 108.7);
Tailwind
colors: {
  custom: {
    50: '#c2c088',
    500: '#a6a657',
    950: '#000000',
  },
}
SCSS
$custom: #a6a657;
$custom-light: #c2c088;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a657",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 31.225,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70785,
    "c": 0.10211,
    "h": 108.7
  },
  "luminance": 0.36068
}

Semantic roles & 50–950 ramp

primary
#A6A657
secondary
#9A9ABE
accent
#60C760
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A6A657

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

Preview Lab → · Contrast checker → · Palette generator →

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