#A6A255#A6A255

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

Color values

HEX#A6A255
RGBrgb(166, 162, 85)
HSLhsl(57, 32%, 49%)
HSVhsv(57, 49%, 65%)
CMYKcmyk(0%, 2.4%, 48.8%, 34.9%)
CIE-LABlab(65.44, -9.52, 40.25)
CIE-LCHlch(65.44, 41.36, 103.31°)
OKLaboklab(69.88% -0.0275 0.0957)
OKLCHoklch(69.88% 0.1 106)
XYZxyz(30.2866, 34.6044, 13.6765)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A255 #5559A6
analogous
#A67A55 #A6A255 #82A655
triadic
#A6A255 #55A6A2 #A255A6
tetradic
#A6A255 #55A67A #5559A6 #A65582
square
#A6A255 #55A67A #5559A6 #A65582
split-complementary
#A6A255 #5582A6 #7A55A6
monochromatic
#55532C #7E7B40 #A6A255 #BCB97C #D1CFA5

Accessibility & contrast

On white

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

On black

7.92
#A6A255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A255
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A255#FFFFFF#000000##000000
##A6A2551.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a255;
/* rgb */ color: rgb(166, 162, 85);
/* oklch */ color: oklch(69.9% 0.100 106.0);
Tailwind
colors: {
  custom: {
    50: '#c2bd87',
    500: '#a6a255',
    950: '#000000',
  },
}
SCSS
$custom: #a6a255;
$custom-light: #c2bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a255",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 57.037,
    "s": 32.271,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69876,
    "c": 0.09961,
    "h": 106
  },
  "luminance": 0.34604
}

Semantic roles & 50–950 ramp

primary
#A6A255
secondary
#999ABE
accent
#65C85F
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A6A255

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

Preview Lab → · Contrast checker → · Palette generator →

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