#AAA77B#AAA77B

#AAA77B is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.060 H 104.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#AAA77B
RGBrgb(170, 167, 123)
HSLhsl(56, 22%, 57%)
HSVhsv(56, 28%, 67%)
CMYKcmyk(0%, 1.8%, 27.6%, 33.3%)
CIE-LABlab(67.74, -6.09, 23.21)
CIE-LCHlch(67.74, 24.00, 104.70°)
OKLaboklab(71.97% -0.0151 0.0584)
OKLCHoklch(71.97% 0.06 104.5)
XYZxyz(33.9715, 37.6141, 24.2057)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA77B #7B7EAA
analogous
#AA8F7B #AAA77B #96AA7B
triadic
#AAA77B #7BAAA7 #A77BAA
tetradic
#AAA77B #7BAA8F #7B7EAA #AA7B96
square
#AAA77B #7BAA8F #7B7EAA #AA7B96
split-complementary
#AAA77B #7B96AA #8F7BAA
monochromatic
#686543 #8D8A5B #AAA77B #C2C0A0 #DAD9C5

Accessibility & contrast

On white

2.46
#AAA77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#AAA77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA77B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA77B#FFFFFF#000000##000000
##AAA77B1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA478
Deuteranopia (green-blind)
#B0A67D
Tritanopia (blue-blind)
#B1A19B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaa77b;
/* rgb */ color: rgb(170, 167, 123);
/* oklch */ color: oklch(72.0% 0.060 104.5);
Tailwind
colors: {
  custom: {
    50: '#c4c1a1',
    500: '#aaa77b',
    950: '#000000',
  },
}
SCSS
$custom: #aaa77b;
$custom-light: #c4c1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa77b",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 123
  },
  "hsl": {
    "h": 56.17,
    "s": 21.659,
    "l": 57.451
  },
  "oklch": {
    "l": 0.71971,
    "c": 0.06033,
    "h": 104.5
  },
  "luminance": 0.37614
}

Semantic roles & 50–950 ramp

primary
#AAA77B
secondary
#B7B8CA
accent
#6FBE6A
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120F
muted
#81817E

Preview Lab

Preview with #AAA77B

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

Preview Lab → · Contrast checker → · Palette generator →

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