#A8A28E#A8A28E

#A8A28E is a light, muted yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.029 H 93.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A8A28E
RGBrgb(168, 162, 142)
HSLhsl(46, 13%, 61%)
HSVhsv(46, 15%, 66%)
CMYKcmyk(0%, 3.6%, 15.5%, 34.1%)
CIE-LABlab(66.61, -1.32, 11.19)
CIE-LCHlch(66.61, 11.26, 96.71°)
OKLaboklab(71.17% -0.0016 0.029)
OKLCHoklch(71.17% 0.029 93.2)
XYZxyz(33.9509, 36.1189, 30.7691)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A28E #8E94A8
analogous
#A8958E #A8A28E #A1A88E
triadic
#A8A28E #8EA8A2 #A28EA8
tetradic
#A8A28E #8EA895 #8E94A8 #A88EA1
square
#A8A28E #8EA895 #8E94A8 #A88EA1
split-complementary
#A8A28E #8EA1A8 #958EA8
monochromatic
#6A6452 #8D856C #A8A28E #C3BEB1 #DDDBD3

Accessibility & contrast

On white

2.55
#A8A28E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#A8A28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A28E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A28E#FFFFFF#000000##000000
##A8A28E1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A18D
Deuteranopia (green-blind)
#A8A38F
Tritanopia (blue-blind)
#AD9F9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a28e;
/* rgb */ color: rgb(168, 162, 142);
/* oklch */ color: oklch(71.2% 0.029 93.2);
Tailwind
colors: {
  custom: {
    50: '#c2bdaf',
    500: '#a8a28e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a28e;
$custom-light: #c2bdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a28e",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 142
  },
  "hsl": {
    "h": 46.154,
    "s": 13,
    "l": 60.784
  },
  "oklch": {
    "l": 0.71172,
    "c": 0.02903,
    "h": 93.2
  },
  "luminance": 0.36118
}

Semantic roles & 50–950 ramp

primary
#A8A28E
secondary
#C4C6CE
accent
#5F974E
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A28E

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

Preview Lab → · Contrast checker → · Palette generator →

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