#A6A457#A6A457

#A6A457 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.100 H 107.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A6A457
RGBrgb(166, 164, 87)
HSLhsl(58, 31%, 50%)
HSVhsv(58, 48%, 65%)
CMYKcmyk(0%, 1.2%, 47.6%, 34.9%)
CIE-LABlab(66.02, -10.38, 39.94)
CIE-LCHlch(66.02, 41.27, 104.57°)
OKLaboklab(70.34% -0.0298 0.0952)
OKLCHoklch(70.34% 0.1 107.4)
XYZxyz(30.7223, 35.3468, 14.2192)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A457 #5759A6
analogous
#A67D57 #A6A457 #81A657
triadic
#A6A457 #57A6A4 #A457A6
tetradic
#A6A457 #57A67D #5759A6 #A65781
square
#A6A457 #57A67D #5759A6 #A65781
split-complementary
#A6A457 #5781A6 #7D57A6
monochromatic
#56552D #7E7C42 #A6A457 #BCBA7F #D1D0A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A457#FFFFFF#000000##000000
##A6A4571.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)
#AF9F50
Deuteranopia (green-blind)
#B1A25B
Tritanopia (blue-blind)
#B09B92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a457;
/* rgb */ color: rgb(166, 164, 87);
/* oklch */ color: oklch(70.3% 0.100 107.4);
Tailwind
colors: {
  custom: {
    50: '#c2be88',
    500: '#a6a457',
    950: '#000000',
  },
}
SCSS
$custom: #a6a457;
$custom-light: #c2be88;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a457",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 87
  },
  "hsl": {
    "h": 58.481,
    "s": 31.225,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70344,
    "c": 0.09977,
    "h": 107.4
  },
  "luminance": 0.35346
}

Semantic roles & 50–950 ramp

primary
#A6A457
secondary
#9A9BBE
accent
#63C760
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A6A457

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

Preview Lab → · Contrast checker → · Palette generator →

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