#AA7D21#AA7D21

#AA7D21 is a mid, moderate orange. Relative luminance 0.233; OKLCH L 61.9% C 0.117 H 80.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AA7D21
RGBrgb(170, 125, 33)
HSLhsl(40, 67%, 40%)
HSVhsv(40, 81%, 67%)
CMYKcmyk(0%, 26.5%, 80.6%, 33.3%)
CIE-LABlab(55.41, 9.07, 53.12)
CIE-LCHlch(55.41, 53.89, 80.31°)
OKLaboklab(61.89% 0.0195 0.1151)
OKLCHoklch(61.89% 0.117 80.4)
XYZxyz(24.1874, 23.3250, 4.6668)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7D21 #214EAA
analogous
#AA3821 #AA7D21 #93AA21
triadic
#AA7D21 #21AA7D #7D21AA
tetradic
#AA7D21 #21AA38 #214EAA #AA2193
square
#AA7D21 #21AA38 #214EAA #AA2193
split-complementary
#AA7D21 #2193AA #3821AA
monochromatic
#43320D #775717 #AA7D21 #D7A131 #E1B864

Accessibility & contrast

On white

3.71
#AA7D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AA7D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7D21
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7D21#FFFFFF#000000##000000
##AA7D211.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#B9706B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa7d21;
/* rgb */ color: rgb(170, 125, 33);
/* oklch */ color: oklch(61.9% 0.117 80.4);
Tailwind
colors: {
  custom: {
    50: '#c8a264',
    500: '#aa7d21',
    950: '#000000',
  },
}
SCSS
$custom: #aa7d21;
$custom-light: #c8a264;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7d21",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 40.292,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6189,
    "c": 0.11672,
    "h": 80.4
  },
  "luminance": 0.23323
}

Semantic roles & 50–950 ramp

primary
#AA7D21
secondary
#6182C6
accent
#76EA3D
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140F06
muted
#827E7A

Preview Lab

Preview with #AA7D21

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

Preview Lab → · Contrast checker → · Palette generator →

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