#A6A257#A6A257

#A6A257 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.097 H 105.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A6A257
RGBrgb(166, 162, 87)
HSLhsl(57, 31%, 50%)
HSVhsv(57, 48%, 65%)
CMYKcmyk(0%, 2.4%, 47.6%, 34.9%)
CIE-LABlab(65.46, -9.33, 39.27)
CIE-LCHlch(65.46, 40.36, 103.36°)
OKLaboklab(69.9% -0.0268 0.0937)
OKLCHoklch(69.9% 0.097 105.9)
XYZxyz(30.3672, 34.6366, 14.1008)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A257 #575BA6
analogous
#A67B57 #A6A257 #83A657
triadic
#A6A257 #57A6A2 #A257A6
tetradic
#A6A257 #57A67B #575BA6 #A65783
square
#A6A257 #57A67B #575BA6 #A65783
split-complementary
#A6A257 #5783A6 #7B57A6
monochromatic
#56542D #7E7B42 #A6A257 #BCB97F #D1CFA7

Accessibility & contrast

On white

2.65
#A6A257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A6A257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A257
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A257#FFFFFF#000000##000000
##A6A2571.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D51
Deuteranopia (green-blind)
#AFA15A
Tritanopia (blue-blind)
#B09990
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a257;
/* rgb */ color: rgb(166, 162, 87);
/* oklch */ color: oklch(69.9% 0.097 105.9);
Tailwind
colors: {
  custom: {
    50: '#c2bd88',
    500: '#a6a257',
    950: '#000000',
  },
}
SCSS
$custom: #a6a257;
$custom-light: #c2bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a257",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 56.962,
    "s": 31.225,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69904,
    "c": 0.09748,
    "h": 105.9
  },
  "luminance": 0.34636
}

Semantic roles & 50–950 ramp

primary
#A6A257
secondary
#9A9CBE
accent
#66C760
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A6A257

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

Preview Lab → · Contrast checker → · Palette generator →

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