#AB7E21#AB7E21

#AB7E21 is a light, moderate orange. Relative luminance 0.237; OKLCH L 62.2% C 0.117 H 80.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AB7E21
RGBrgb(171, 126, 33)
HSLhsl(40, 68%, 40%)
HSVhsv(40, 81%, 67%)
CMYKcmyk(0%, 26.3%, 80.7%, 32.9%)
CIE-LABlab(55.78, 8.96, 53.50)
CIE-LCHlch(55.78, 54.25, 80.49°)
OKLaboklab(62.21% 0.0191 0.1158)
OKLCHoklch(62.21% 0.117 80.6)
XYZxyz(24.5317, 23.6914, 4.7194)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7E21 #214EAB
analogous
#AB3921 #AB7E21 #93AB21
triadic
#AB7E21 #21AB7E #7E21AB
tetradic
#AB7E21 #21AB39 #214EAB #AB2193
square
#AB7E21 #21AB39 #214EAB #AB2193
split-complementary
#AB7E21 #2193AB #3921AB
monochromatic
#44320D #785817 #AB7E21 #D7A132 #E1B965

Accessibility & contrast

On white

3.66
#AB7E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AB7E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7E21
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7E21#FFFFFF#000000##000000
##AB7E211.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0E
Deuteranopia (green-blind)
#9B8A25
Tritanopia (blue-blind)
#BA716C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7e21;
/* rgb */ color: rgb(171, 126, 33);
/* oklch */ color: oklch(62.2% 0.117 80.6);
Tailwind
colors: {
  custom: {
    50: '#c9a365',
    500: '#ab7e21',
    950: '#000000',
  },
}
SCSS
$custom: #ab7e21;
$custom-light: #c9a365;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7e21",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 40.435,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.62206,
    "c": 0.11741,
    "h": 80.6
  },
  "luminance": 0.23689
}

Semantic roles & 50–950 ramp

primary
#AB7E21
secondary
#6182C7
accent
#76EB3D
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140F06
muted
#837E7A

Preview Lab

Preview with #AB7E21

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

Preview Lab → · Contrast checker → · Palette generator →

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