#AA7B21#AA7B21

#AA7B21 is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.5% C 0.116 H 78.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AA7B21
RGBrgb(170, 123, 33)
HSLhsl(39, 67%, 40%)
HSVhsv(39, 81%, 67%)
CMYKcmyk(0%, 27.6%, 80.6%, 33.3%)
CIE-LABlab(54.89, 10.19, 52.65)
CIE-LCHlch(54.89, 53.63, 79.05°)
OKLaboklab(61.49% 0.0227 0.1141)
OKLCHoklch(61.49% 0.116 78.7)
XYZxyz(23.9367, 22.8237, 4.5833)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7B21 #2150AA
analogous
#AA3621 #AA7B21 #95AA21
triadic
#AA7B21 #21AA7B #7B21AA
tetradic
#AA7B21 #21AA36 #2150AA #AA2195
square
#AA7B21 #21AA36 #2150AA #AA2195
split-complementary
#AA7B21 #2195AA #3621AA
monochromatic
#43310D #775617 #AA7B21 #D79E31 #E1B664

Accessibility & contrast

On white

3.77
#AA7B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AA7B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7B21
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7B21#FFFFFF#000000##000000
##AA7B211.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#B96E6A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa7b21;
/* rgb */ color: rgb(170, 123, 33);
/* oklch */ color: oklch(61.5% 0.116 78.7);
Tailwind
colors: {
  custom: {
    50: '#c8a164',
    500: '#aa7b21',
    950: '#000000',
  },
}
SCSS
$custom: #aa7b21;
$custom-light: #c8a164;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7b21",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 33
  },
  "hsl": {
    "h": 39.416,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61486,
    "c": 0.11631,
    "h": 78.7
  },
  "luminance": 0.22822
}

Semantic roles & 50–950 ramp

primary
#AA7B21
secondary
#6183C6
accent
#79EA3D
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A

Preview Lab

Preview with #AA7B21

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

Preview Lab → · Contrast checker → · Palette generator →

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