#A8A28C#A8A28C

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

Color values

HEX#A8A28C
RGBrgb(168, 162, 140)
HSLhsl(47, 14%, 60%)
HSVhsv(47, 17%, 66%)
CMYKcmyk(0%, 3.6%, 16.7%, 34.1%)
CIE-LABlab(66.57, -1.64, 12.23)
CIE-LCHlch(66.57, 12.34, 97.63°)
OKLaboklab(71.12% -0.0025 0.0316)
OKLCHoklch(71.12% 0.032 94.4)
XYZxyz(33.8021, 36.0594, 29.9853)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A28C #8C92A8
analogous
#A8948C #A8A28C #A0A88C
triadic
#A8A28C #8CA8A2 #A28CA8
tetradic
#A8A28C #8CA894 #8C92A8 #A88CA0
square
#A8A28C #8CA894 #8C92A8 #A88CA0
split-complementary
#A8A28C #8CA0A8 #948CA8
monochromatic
#6A6450 #8D856A #A8A28C #C2BEAF #DDDAD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A28C#FFFFFF#000000##000000
##A8A28C1.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)
#A7A18B
Deuteranopia (green-blind)
#A9A38D
Tritanopia (blue-blind)
#AD9F9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a28c;
/* rgb */ color: rgb(168, 162, 140);
/* oklch */ color: oklch(71.1% 0.032 94.4);
Tailwind
colors: {
  custom: {
    50: '#c2bdad',
    500: '#a8a28c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a28c;
$custom-light: #c2bdad;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a28c",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 140
  },
  "hsl": {
    "h": 47.143,
    "s": 13.861,
    "l": 60.392
  },
  "oklch": {
    "l": 0.71121,
    "c": 0.03171,
    "h": 94.4
  },
  "luminance": 0.36059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A28C

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

Preview Lab → · Contrast checker → · Palette generator →

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