#AB7231#AB7231

#AB7231 is a mid, moderate orange. Relative luminance 0.209; OKLCH L 60.0% C 0.108 H 66.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB7231
RGBrgb(171, 114, 49)
HSLhsl(32, 55%, 43%)
HSVhsv(32, 71%, 67%)
CMYKcmyk(0%, 33.3%, 71.3%, 32.9%)
CIE-LABlab(52.86, 16.43, 43.85)
CIE-LCHlch(52.86, 46.83, 69.46°)
OKLaboklab(59.97% 0.043 0.0987)
OKLCHoklch(59.97% 0.108 66.4)
XYZxyz(23.3680, 20.9164, 5.7117)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7231 #316AAB
analogous
#AB3531 #AB7231 #A7AB31
triadic
#AB7231 #31AB72 #7231AB
tetradic
#AB7231 #31AB35 #316AAB #AB31A7
square
#AB7231 #31AB35 #316AAB #AB31A7
split-complementary
#AB7231 #31A7AB #3531AB
monochromatic
#4C3316 #7B5223 #AB7231 #CC914D #DAAE7D

Accessibility & contrast

On white

4.05
#AB7231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AB7231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7231
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7231#FFFFFF#000000##000000
##AB72311.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857629
Deuteranopia (green-blind)
#928332
Tritanopia (blue-blind)
#BA6564
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab7231;
/* rgb */ color: rgb(171, 114, 49);
/* oklch */ color: oklch(60.0% 0.108 66.4);
Tailwind
colors: {
  custom: {
    50: '#c99a6c',
    500: '#ab7231',
    950: '#000000',
  },
}
SCSS
$custom: #ab7231;
$custom-light: #c99a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7231",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 31.967,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.10768,
    "h": 66.4
  },
  "luminance": 0.20914
}

Semantic roles & 50–950 ramp

primary
#AB7231
secondary
#7599C2
accent
#8FDF49
background
#FCF9F6
surface
#F9F2EC
border
#D2CCC7
text
#140E07
muted
#827E7A

Preview Lab

Preview with #AB7231

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

Preview Lab → · Contrast checker → · Palette generator →

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