#AAA877#AAA877

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

Color values

HEX#AAA877
RGBrgb(170, 168, 119)
HSLhsl(58, 23%, 57%)
HSVhsv(58, 30%, 67%)
CMYKcmyk(0%, 1.2%, 30%, 33.3%)
CIE-LABlab(67.93, -7.17, 25.65)
CIE-LCHlch(67.93, 26.63, 105.61°)
OKLaboklab(72.1% -0.0184 0.0641)
OKLCHoklch(72.1% 0.067 106)
XYZxyz(33.9101, 37.8838, 22.9751)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA877 #7779AA
analogous
#AA8F77 #AAA877 #93AA77
triadic
#AAA877 #77AAA8 #A877AA
tetradic
#AAA877 #77AA8F #7779AA #AA7793
square
#AAA877 #77AA8F #7779AA #AA7793
split-complementary
#AAA877 #7793AA #8F77AA
monochromatic
#676540 #8C8A58 #AAA877 #C2C09D #D9D8C2

Accessibility & contrast

On white

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

On black

8.58
#AAA877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA877
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA877#FFFFFF#000000##000000
##AAA8771.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A474
Deuteranopia (green-blind)
#B2A779
Tritanopia (blue-blind)
#B1A29B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaa877;
/* rgb */ color: rgb(170, 168, 119);
/* oklch */ color: oklch(72.1% 0.067 106.0);
Tailwind
colors: {
  custom: {
    50: '#c4c19e',
    500: '#aaa877',
    950: '#000000',
  },
}
SCSS
$custom: #aaa877;
$custom-light: #c4c19e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa877",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 119
  },
  "hsl": {
    "h": 57.647,
    "s": 23.077,
    "l": 56.667
  },
  "oklch": {
    "l": 0.72105,
    "c": 0.06669,
    "h": 106
  },
  "luminance": 0.37883
}

Semantic roles & 50–950 ramp

primary
#AAA877
secondary
#B4B5C9
accent
#6CC068
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA877

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

Preview Lab → · Contrast checker → · Palette generator →

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