#AAA796#AAA796

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

Color values

HEX#AAA796
RGBrgb(170, 167, 150)
HSLhsl(51, 11%, 63%)
HSVhsv(51, 12%, 67%)
CMYKcmyk(0%, 1.8%, 11.8%, 33.3%)
CIE-LABlab(68.30, -1.95, 9.18)
CIE-LCHlch(68.30, 9.38, 101.99°)
OKLaboklab(72.61% -0.0037 0.0239)
OKLCHoklch(72.61% 0.024 98.8)
XYZxyz(35.9007, 38.3858, 34.3662)
Luminance0.3839 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA796 #9699AA
analogous
#AA9D96 #AAA796 #A3AA96
triadic
#AAA796 #96AAA7 #A796AA
tetradic
#AAA796 #96AA9D #9699AA #AA96A3
square
#AAA796 #96AA9D #9699AA #AA96A3
split-complementary
#AAA796 #96A3AA #9D96AA
monochromatic
#6D6A58 #8F8B74 #AAA796 #C5C3B8 #E1E0DA

Accessibility & contrast

On white

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

On black

8.68
#AAA796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA796
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA796#FFFFFF#000000##000000
##AAA7961.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA695
Deuteranopia (green-blind)
#ACA797
Tritanopia (blue-blind)
#ADA4A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaa796;
/* rgb */ color: rgb(170, 167, 150);
/* oklch */ color: oklch(72.6% 0.024 98.8);
Tailwind
colors: {
  custom: {
    50: '#c3c1b4',
    500: '#aaa796',
    950: '#000000',
  },
}
SCSS
$custom: #aaa796;
$custom-light: #c3c1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa796",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 150
  },
  "hsl": {
    "h": 51,
    "s": 10.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.72607,
    "c": 0.02417,
    "h": 98.8
  },
  "luminance": 0.38385
}

Semantic roles & 50–950 ramp

primary
#AAA796
secondary
#CACBD2
accent
#5B9551
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #AAA796

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

Preview Lab → · Contrast checker → · Palette generator →

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