#AAAA97#AAAA97

#AAAA97 is a light, muted yellow. Relative luminance 0.395; OKLCH L 73.3% C 0.027 H 107.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AAAA97
RGBrgb(170, 170, 151)
HSLhsl(60, 10%, 63%)
HSVhsv(60, 11%, 67%)
CMYKcmyk(0%, 0%, 11.2%, 33.3%)
CIE-LABlab(69.13, -3.40, 9.81)
CIE-LCHlch(69.13, 10.38, 109.12°)
OKLaboklab(73.27% -0.0078 0.0255)
OKLCHoklch(73.27% 0.027 107)
XYZxyz(36.5376, 39.5301, 34.9774)
Luminance0.3953 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA97 #9797AA
analogous
#AAA097 #AAAA97 #A0AA97
triadic
#AAAA97 #97AAAA #AA97AA
tetradic
#AAAA97 #97AAA0 #9797AA #AA97A0
square
#AAAA97 #97AAA0 #9797AA #AA97A0
split-complementary
#AAAA97 #97A0AA #A097AA
monochromatic
#6D6D59 #8E8E75 #AAAA97 #C6C6B9 #E1E1DA

Accessibility & contrast

On white

2.36
#AAAA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AAAA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA97
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA97#FFFFFF#000000##000000
##AAAA971.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA896
Deuteranopia (green-blind)
#AEA998
Tritanopia (blue-blind)
#ADA7A5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaa97;
/* rgb */ color: rgb(170, 170, 151);
/* oklch */ color: oklch(73.3% 0.027 107.0);
Tailwind
colors: {
  custom: {
    50: '#c3c3b5',
    500: '#aaaa97',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa97;
$custom-light: #c3c3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa97",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 10.053,
    "l": 62.941
  },
  "oklch": {
    "l": 0.73269,
    "c": 0.02666,
    "h": 107
  },
  "luminance": 0.3953
}

Semantic roles & 50–950 ramp

primary
#AAAA97
secondary
#CBCBD2
accent
#519451
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #AAAA97

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

Preview Lab → · Contrast checker → · Palette generator →

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