#A6A28E#A6A28E

#A6A28E is a light, muted yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.029 H 97.8°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A6A28E
RGBrgb(166, 162, 142)
HSLhsl(50, 12%, 60%)
HSVhsv(50, 14%, 65%)
CMYKcmyk(0%, 2.4%, 14.5%, 34.9%)
CIE-LABlab(66.44, -2.08, 10.93)
CIE-LCHlch(66.44, 11.12, 100.76°)
OKLaboklab(71% -0.0039 0.0283)
OKLCHoklch(71% 0.029 97.8)
XYZxyz(33.5283, 35.9010, 30.7493)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A28E #8E92A6
analogous
#A6968E #A6A28E #9EA68E
triadic
#A6A28E #8EA6A2 #A28EA6
tetradic
#A6A28E #8EA696 #8E92A6 #A68E9E
square
#A6A28E #8EA696 #8E92A6 #A68E9E
split-complementary
#A6A28E #8E9EA6 #968EA6
monochromatic
#686452 #8A856D #A6A28E #C1BEB0 #DCDAD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A28E#FFFFFF#000000##000000
##A6A28E1.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)
#A6A18D
Deuteranopia (green-blind)
#A8A28F
Tritanopia (blue-blind)
#AA9F9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a28e;
/* rgb */ color: rgb(166, 162, 142);
/* oklch */ color: oklch(71.0% 0.029 97.8);
Tailwind
colors: {
  custom: {
    50: '#c0bdaf',
    500: '#a6a28e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a28e;
$custom-light: #c0bdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a28e",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 142
  },
  "hsl": {
    "h": 50,
    "s": 11.881,
    "l": 60.392
  },
  "oklch": {
    "l": 0.71,
    "c": 0.02858,
    "h": 97.8
  },
  "luminance": 0.35901
}

Semantic roles & 50–950 ramp

primary
#A6A28E
secondary
#C3C5CC
accent
#5B9650
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A6A28E

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

Preview Lab → · Contrast checker → · Palette generator →

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