#AA7F21#AA7F21

#AA7F21 is a light, moderate orange. Relative luminance 0.238; OKLCH L 62.3% C 0.117 H 82.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AA7F21
RGBrgb(170, 127, 33)
HSLhsl(41, 67%, 40%)
HSVhsv(41, 81%, 67%)
CMYKcmyk(0%, 25.3%, 80.6%, 33.3%)
CIE-LABlab(55.92, 7.95, 53.59)
CIE-LCHlch(55.92, 54.18, 81.57°)
OKLaboklab(62.3% 0.0163 0.1161)
OKLCHoklch(62.3% 0.117 82)
XYZxyz(24.4431, 23.8365, 4.7521)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7F21 #214CAA
analogous
#AA3B21 #AA7F21 #91AA21
triadic
#AA7F21 #21AA7F #7F21AA
tetradic
#AA7F21 #21AA3B #214CAA #AA2191
square
#AA7F21 #21AA3B #214CAA #AA2191
split-complementary
#AA7F21 #2191AA #3B21AA
monochromatic
#43320D #775917 #AA7F21 #D7A331 #E1BA64

Accessibility & contrast

On white

3.64
#AA7F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AA7F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7F21
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7F21#FFFFFF#000000##000000
##AA7F211.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#B9726D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa7f21;
/* rgb */ color: rgb(170, 127, 33);
/* oklch */ color: oklch(62.3% 0.117 82.0);
Tailwind
colors: {
  custom: {
    50: '#c8a365',
    500: '#aa7f21',
    950: '#000000',
  },
}
SCSS
$custom: #aa7f21;
$custom-light: #c8a365;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7f21",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 41.168,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62296,
    "c": 0.11722,
    "h": 82
  },
  "luminance": 0.23835
}

Semantic roles & 50–950 ramp

primary
#AA7F21
secondary
#6180C6
accent
#74EA3D
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #AA7F21

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

Preview Lab → · Contrast checker → · Palette generator →

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