#A8A28A#A8A28A

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

Color values

HEX#A8A28A
RGBrgb(168, 162, 138)
HSLhsl(48, 15%, 60%)
HSVhsv(48, 18%, 66%)
CMYKcmyk(0%, 3.6%, 17.9%, 34.1%)
CIE-LABlab(66.52, -1.96, 13.28)
CIE-LCHlch(66.52, 13.42, 98.39°)
OKLaboklab(71.07% -0.0033 0.0342)
OKLCHoklch(71.07% 0.034 95.5)
XYZxyz(33.6560, 36.0010, 29.2157)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A28A #8A90A8
analogous
#A8938A #A8A28A #9FA88A
triadic
#A8A28A #8AA8A2 #A28AA8
tetradic
#A8A28A #8AA893 #8A90A8 #A88A9F
square
#A8A28A #8AA893 #8A90A8 #A88A9F
split-complementary
#A8A28A #8A9FA8 #938AA8
monochromatic
#69644E #8C8568 #A8A28A #C2BEAD #DCDAD0

Accessibility & contrast

On white

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

On black

8.20
#A8A28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A28A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A28A#FFFFFF#000000##000000
##A8A28A1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A189
Deuteranopia (green-blind)
#A9A38B
Tritanopia (blue-blind)
#AD9E9B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a28a;
/* rgb */ color: rgb(168, 162, 138);
/* oklch */ color: oklch(71.1% 0.034 95.5);
Tailwind
colors: {
  custom: {
    50: '#c2bdac',
    500: '#a8a28a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a28a;
$custom-light: #c2bdac;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a28a",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 138
  },
  "hsl": {
    "h": 48,
    "s": 14.706,
    "l": 60
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.03439,
    "h": 95.5
  },
  "luminance": 0.36
}

Semantic roles & 50–950 ramp

primary
#A8A28A
secondary
#C1C3CD
accent
#7FB770
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A28A

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

Preview Lab → · Contrast checker → · Palette generator →

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