#AAA795#AAA795

#AAA795 is a light, muted yellow. Relative luminance 0.384; OKLCH L 72.6% C 0.026 H 99.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#AAA795
RGBrgb(170, 167, 149)
HSLhsl(51, 11%, 63%)
HSVhsv(51, 12%, 67%)
CMYKcmyk(0%, 1.8%, 12.4%, 33.3%)
CIE-LABlab(68.28, -2.12, 9.70)
CIE-LCHlch(68.28, 9.93, 102.31°)
OKLaboklab(72.58% -0.0041 0.0252)
OKLCHoklch(72.58% 0.026 99.2)
XYZxyz(35.8206, 38.3537, 33.9439)
Luminance0.3835 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA795 #9598AA
analogous
#AA9D95 #AAA795 #A2AA95
triadic
#AAA795 #95AAA7 #A795AA
tetradic
#AAA795 #95AA9D #9598AA #AA95A2
square
#AAA795 #95AA9D #9598AA #AA95A2
split-complementary
#AAA795 #95A2AA #9D95AA
monochromatic
#6D6A57 #8F8B73 #AAA795 #C5C3B7 #E0DFD9

Accessibility & contrast

On white

2.42
#AAA795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#AAA795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA795
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA795#FFFFFF#000000##000000
##AAA7951.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA694
Deuteranopia (green-blind)
#ACA796
Tritanopia (blue-blind)
#AEA4A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaa795;
/* rgb */ color: rgb(170, 167, 149);
/* oklch */ color: oklch(72.6% 0.026 99.2);
Tailwind
colors: {
  custom: {
    50: '#c3c1b4',
    500: '#aaa795',
    950: '#000000',
  },
}
SCSS
$custom: #aaa795;
$custom-light: #c3c1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa795",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 149
  },
  "hsl": {
    "h": 51.429,
    "s": 10.995,
    "l": 62.549
  },
  "oklch": {
    "l": 0.72581,
    "c": 0.02554,
    "h": 99.2
  },
  "luminance": 0.38353
}

Semantic roles & 50–950 ramp

primary
#AAA795
secondary
#CACBD1
accent
#5A9550
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #AAA795

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

Preview Lab → · Contrast checker → · Palette generator →

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