#AAA27A#AAA27A

#AAA27A is a light, muted yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.056 H 98.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#AAA27A
RGBrgb(170, 162, 122)
HSLhsl(50, 22%, 57%)
HSVhsv(50, 28%, 67%)
CMYKcmyk(0%, 4.7%, 28.2%, 33.3%)
CIE-LABlab(66.36, -3.54, 21.90)
CIE-LCHlch(66.36, 22.19, 99.19°)
OKLaboklab(70.88% -0.0079 0.0552)
OKLCHoklch(70.88% 0.056 98.1)
XYZxyz(33.0109, 35.7926, 23.5783)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA27A #7A82AA
analogous
#AA8A7A #AAA27A #9AAA7A
triadic
#AAA27A #7AAAA2 #A27AAA
tetradic
#AAA27A #7AAA8A #7A82AA #AA7A9A
square
#AAA27A #7AAA8A #7A82AA #AA7A9A
split-complementary
#AAA27A #7A9AAA #8A7AAA
monochromatic
#676142 #8D845A #AAA27A #C2BC9F #DAD6C5

Accessibility & contrast

On white

2.57
#AAA27A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#AAA27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA27A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA27A#FFFFFF#000000##000000
##AAA27A1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA077
Deuteranopia (green-blind)
#ACA37B
Tritanopia (blue-blind)
#B19C97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa27a;
/* rgb */ color: rgb(170, 162, 122);
/* oklch */ color: oklch(70.9% 0.056 98.1);
Tailwind
colors: {
  custom: {
    50: '#c4bda0',
    500: '#aaa27a',
    950: '#000000',
  },
}
SCSS
$custom: #aaa27a;
$custom-light: #c4bda0;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa27a",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 122
  },
  "hsl": {
    "h": 50,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.05579,
    "h": 98.1
  },
  "luminance": 0.35792
}

Semantic roles & 50–950 ramp

primary
#AAA27A
secondary
#B6B9CA
accent
#77BF69
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #AAA27A

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

Preview Lab → · Contrast checker → · Palette generator →

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