#AA8822#AA8822

#AA8822 is a light, vivid yellow. Relative luminance 0.263; OKLCH L 64.2% C 0.120 H 89.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AA8822
RGBrgb(170, 136, 34)
HSLhsl(45, 67%, 40%)
HSVhsv(45, 80%, 67%)
CMYKcmyk(0%, 20%, 80%, 33.3%)
CIE-LABlab(58.29, 2.97, 55.38)
CIE-LCHlch(58.29, 55.46, 86.93°)
OKLaboklab(64.16% 0.0021 0.1202)
OKLCHoklch(64.16% 0.12 89)
XYZxyz(25.6720, 26.2716, 5.2318)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8822 #2244AA
analogous
#AA4422 #AA8822 #88AA22
triadic
#AA8822 #22AA88 #8822AA
tetradic
#AA8822 #22AA44 #2244AA #AA2288
square
#AA8822 #22AA44 #2244AA #AA2288
split-complementary
#AA8822 #2288AA #4422AA
monochromatic
#44360E #775F18 #AA8822 #D6AD33 #E0C266

Accessibility & contrast

On white

3.36
#AA8822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AA8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8822
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8822#FFFFFF#000000##000000
##AA88221.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870B
Deuteranopia (green-blind)
#A19028
Tritanopia (blue-blind)
#B97C75
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa8822;
/* rgb */ color: rgb(170, 136, 34);
/* oklch */ color: oklch(64.2% 0.120 89.0);
Tailwind
colors: {
  custom: {
    50: '#c8aa66',
    500: '#aa8822',
    950: '#000000',
  },
}
SCSS
$custom: #aa8822;
$custom-light: #c8aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8822",
  "rgb": {
    "r": 170,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.6416,
    "c": 0.1202,
    "h": 89
  },
  "luminance": 0.2627
}

Semantic roles & 50–950 ramp

primary
#AA8822
secondary
#627BC6
accent
#69EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #AA8822

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

Preview Lab → · Contrast checker → · Palette generator →

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