#A2A28C#A2A28C

#A2A28C is a light, muted yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.031 H 107.2°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A2A28C
RGBrgb(162, 162, 140)
HSLhsl(60, 11%, 59%)
HSVhsv(60, 14%, 64%)
CMYKcmyk(0%, 0%, 13.6%, 36.5%)
CIE-LABlab(66.07, -3.92, 11.47)
CIE-LCHlch(66.07, 12.12, 108.89°)
OKLaboklab(70.61% -0.0092 0.0297)
OKLCHoklch(70.61% 0.031 107.2)
XYZxyz(32.5538, 35.4157, 29.9268)
Luminance0.3542 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A28C #8C8CA2
analogous
#A2978C #A2A28C #97A28C
triadic
#A2A28C #8CA2A2 #A28CA2
tetradic
#A2A28C #8CA297 #8C8CA2 #A28C97
square
#A2A28C #8CA297 #8C8CA2 #A28C97
split-complementary
#A2A28C #8C97A2 #978CA2
monochromatic
#636350 #85856C #A2A28C #BDBDAE #D9D9D0

Accessibility & contrast

On white

2.60
#A2A28C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A2A28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A28C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A28C#FFFFFF#000000##000000
##A2A28C1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A08B
Deuteranopia (green-blind)
#A7A18D
Tritanopia (blue-blind)
#A69F9C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a28c;
/* rgb */ color: rgb(162, 162, 140);
/* oklch */ color: oklch(70.6% 0.031 107.2);
Tailwind
colors: {
  custom: {
    50: '#bdbdad',
    500: '#a2a28c',
    950: '#000000',
  },
}
SCSS
$custom: #a2a28c;
$custom-light: #bdbdad;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a28c",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 140
  },
  "hsl": {
    "h": 60,
    "s": 10.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.7061,
    "c": 0.03104,
    "h": 107.2
  },
  "luminance": 0.35415
}

Semantic roles & 50–950 ramp

primary
#A2A28C
secondary
#C1C1C9
accent
#74B474
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A2A28C

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

Preview Lab → · Contrast checker → · Palette generator →

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