#AA7A21#AA7A21

#AA7A21 is a mid, moderate orange. Relative luminance 0.226; OKLCH L 61.3% C 0.116 H 77.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AA7A21
RGBrgb(170, 122, 33)
HSLhsl(39, 67%, 40%)
HSVhsv(39, 81%, 67%)
CMYKcmyk(0%, 28.2%, 80.6%, 33.3%)
CIE-LABlab(54.63, 10.75, 52.42)
CIE-LCHlch(54.63, 53.51, 78.41°)
OKLaboklab(61.29% 0.0244 0.1136)
OKLCHoklch(61.29% 0.116 77.9)
XYZxyz(23.8133, 22.5769, 4.5421)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7A21 #2151AA
analogous
#AA3521 #AA7A21 #96AA21
triadic
#AA7A21 #21AA7A #7A21AA
tetradic
#AA7A21 #21AA35 #2151AA #AA2196
square
#AA7A21 #21AA35 #2151AA #AA2196
split-complementary
#AA7A21 #2196AA #3521AA
monochromatic
#43300D #775517 #AA7A21 #D79D31 #E1B564

Accessibility & contrast

On white

3.81
#AA7A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AA7A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7A21
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7A21#FFFFFF#000000##000000
##AA7A211.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C10
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#B96D69
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa7a21;
/* rgb */ color: rgb(170, 122, 33);
/* oklch */ color: oklch(61.3% 0.116 77.9);
Tailwind
colors: {
  custom: {
    50: '#c8a064',
    500: '#aa7a21',
    950: '#000000',
  },
}
SCSS
$custom: #aa7a21;
$custom-light: #c8a064;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7a21",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 33
  },
  "hsl": {
    "h": 38.978,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61285,
    "c": 0.11615,
    "h": 77.9
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#AA7A21
secondary
#6184C6
accent
#7AEA3D
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AA7A21

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

Preview Lab → · Contrast checker → · Palette generator →

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