#AAA879#AAA879

#AAA879 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.064 H 105.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AAA879
RGBrgb(170, 168, 121)
HSLhsl(58, 22%, 57%)
HSVhsv(58, 29%, 67%)
CMYKcmyk(0%, 1.2%, 28.8%, 33.3%)
CIE-LABlab(67.97, -6.90, 24.61)
CIE-LCHlch(67.97, 25.56, 105.65°)
OKLaboklab(72.15% -0.0175 0.0617)
OKLCHoklch(72.15% 0.064 105.9)
XYZxyz(34.0315, 37.9324, 23.6144)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA879 #797BAA
analogous
#AA9079 #AAA879 #94AA79
triadic
#AAA879 #79AAA8 #A879AA
tetradic
#AAA879 #79AA90 #797BAA #AA7994
square
#AAA879 #79AA90 #797BAA #AA7994
split-complementary
#AAA879 #7994AA #9079AA
monochromatic
#676641 #8D8B59 #AAA879 #C2C09E #DAD9C4

Accessibility & contrast

On white

2.45
#AAA879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#AAA879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA879
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA879#FFFFFF#000000##000000
##AAA8791.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A476
Deuteranopia (green-blind)
#B1A77B
Tritanopia (blue-blind)
#B1A29C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaa879;
/* rgb */ color: rgb(170, 168, 121);
/* oklch */ color: oklch(72.1% 0.064 105.9);
Tailwind
colors: {
  custom: {
    50: '#c4c1a0',
    500: '#aaa879',
    950: '#000000',
  },
}
SCSS
$custom: #aaa879;
$custom-light: #c4c1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa879",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 121
  },
  "hsl": {
    "h": 57.551,
    "s": 22.374,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72145,
    "c": 0.06414,
    "h": 105.9
  },
  "luminance": 0.37932
}

Semantic roles & 50–950 ramp

primary
#AAA879
secondary
#B5B6C9
accent
#6CBF69
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #AAA879

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

Preview Lab → · Contrast checker → · Palette generator →

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