#A8A28F#A8A28F

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

Color values

HEX#A8A28F
RGBrgb(168, 162, 143)
HSLhsl(46, 13%, 61%)
HSVhsv(46, 15%, 66%)
CMYKcmyk(0%, 3.6%, 14.9%, 34.1%)
CIE-LABlab(66.63, -1.15, 10.66)
CIE-LCHlch(66.63, 10.73, 96.17°)
OKLaboklab(71.2% -0.0012 0.0277)
OKLCHoklch(71.2% 0.028 92.5)
XYZxyz(34.0263, 36.1491, 31.1662)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A28F #8F95A8
analogous
#A8958F #A8A28F #A1A88F
triadic
#A8A28F #8FA8A2 #A28FA8
tetradic
#A8A28F #8FA895 #8F95A8 #A88FA1
square
#A8A28F #8FA895 #8F95A8 #A88FA1
split-complementary
#A8A28F #8FA1A8 #958FA8
monochromatic
#6A6452 #8D856D #A8A28F #C3BFB1 #DEDBD4

Accessibility & contrast

On white

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

On black

8.23
#A8A28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A28F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A28F#FFFFFF#000000##000000
##A8A28F1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A18E
Deuteranopia (green-blind)
#A8A390
Tritanopia (blue-blind)
#AC9F9D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a28f;
/* rgb */ color: rgb(168, 162, 143);
/* oklch */ color: oklch(71.2% 0.028 92.5);
Tailwind
colors: {
  custom: {
    50: '#c2bdaf',
    500: '#a8a28f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a28f;
$custom-light: #c2bdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a28f",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 143
  },
  "hsl": {
    "h": 45.6,
    "s": 12.563,
    "l": 60.98
  },
  "oklch": {
    "l": 0.71197,
    "c": 0.02769,
    "h": 92.5
  },
  "luminance": 0.36149
}

Semantic roles & 50–950 ramp

primary
#A8A28F
secondary
#C5C7CE
accent
#60974F
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A28F

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

Preview Lab → · Contrast checker → · Palette generator →

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