#AAA772#AAA772

#AAA772 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.072 H 105.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AAA772
RGBrgb(170, 167, 114)
HSLhsl(57, 25%, 56%)
HSVhsv(57, 33%, 67%)
CMYKcmyk(0%, 1.8%, 32.9%, 33.3%)
CIE-LABlab(67.58, -7.28, 27.86)
CIE-LCHlch(67.58, 28.80, 104.65°)
OKLaboklab(71.79% -0.0189 0.0692)
OKLCHoklch(71.79% 0.072 105.3)
XYZxyz(33.4338, 37.3990, 21.3738)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA772 #7275AA
analogous
#AA8B72 #AAA772 #91AA72
triadic
#AAA772 #72AAA7 #A772AA
tetradic
#AAA772 #72AA8B #7275AA #AA7291
square
#AAA772 #72AA8B #7275AA #AA7291
split-complementary
#AAA772 #7291AA #8B72AA
monochromatic
#65633D #8B8854 #AAA772 #C1BF98 #D8D7BE

Accessibility & contrast

On white

2.48
#AAA772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#AAA772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA772
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA772#FFFFFF#000000##000000
##AAA7721.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36E
Deuteranopia (green-blind)
#B1A674
Tritanopia (blue-blind)
#B2A099
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaa772;
/* rgb */ color: rgb(170, 167, 114);
/* oklch */ color: oklch(71.8% 0.072 105.3);
Tailwind
colors: {
  custom: {
    50: '#c4c19b',
    500: '#aaa772',
    950: '#000000',
  },
}
SCSS
$custom: #aaa772;
$custom-light: #c4c19b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa772",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 114
  },
  "hsl": {
    "h": 56.786,
    "s": 24.779,
    "l": 55.686
  },
  "oklch": {
    "l": 0.71792,
    "c": 0.07173,
    "h": 105.3
  },
  "luminance": 0.37398
}

Semantic roles & 50–950 ramp

primary
#AAA772
secondary
#B0B2C8
accent
#6BC167
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA772

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

Preview Lab → · Contrast checker → · Palette generator →

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