#A8A28B#A8A28B

#A8A28B is a light, muted yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.033 H 95.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A8A28B
RGBrgb(168, 162, 139)
HSLhsl(48, 14%, 60%)
HSVhsv(48, 17%, 66%)
CMYKcmyk(0%, 3.6%, 17.3%, 34.1%)
CIE-LABlab(66.54, -1.80, 12.76)
CIE-LCHlch(66.54, 12.88, 98.03°)
OKLaboklab(71.1% -0.0029 0.0329)
OKLCHoklch(71.1% 0.033 95)
XYZxyz(33.7287, 36.0301, 29.5988)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A28B #8B91A8
analogous
#A8938B #A8A28B #A0A88B
triadic
#A8A28B #8BA8A2 #A28BA8
tetradic
#A8A28B #8BA893 #8B91A8 #A88BA0
square
#A8A28B #8BA893 #8B91A8 #A88BA0
split-complementary
#A8A28B #8BA0A8 #938BA8
monochromatic
#69644F #8C8569 #A8A28B #C2BEAE #DCDAD1

Accessibility & contrast

On white

2.56
#A8A28B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A8A28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A28B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A28B#FFFFFF#000000##000000
##A8A28B1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A18A
Deuteranopia (green-blind)
#A9A38C
Tritanopia (blue-blind)
#AD9E9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a28b;
/* rgb */ color: rgb(168, 162, 139);
/* oklch */ color: oklch(71.1% 0.033 95.0);
Tailwind
colors: {
  custom: {
    50: '#c2bdad',
    500: '#a8a28b',
    950: '#000000',
  },
}
SCSS
$custom: #a8a28b;
$custom-light: #c2bdad;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a28b",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 139
  },
  "hsl": {
    "h": 47.586,
    "s": 14.286,
    "l": 60.196
  },
  "oklch": {
    "l": 0.71096,
    "c": 0.03305,
    "h": 95
  },
  "luminance": 0.3603
}

Semantic roles & 50–950 ramp

primary
#A8A28B
secondary
#C2C4CD
accent
#5D984D
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A28B

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

Preview Lab → · Contrast checker → · Palette generator →

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