#AB7226#AB7226

#AB7226 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.9% C 0.114 H 69.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB7226
RGBrgb(171, 114, 38)
HSLhsl(34, 64%, 41%)
HSVhsv(34, 78%, 67%)
CMYKcmyk(0%, 33.3%, 77.8%, 32.9%)
CIE-LABlab(52.77, 15.90, 48.73)
CIE-LCHlch(52.77, 51.26, 71.93°)
OKLaboklab(59.87% 0.0399 0.1068)
OKLCHoklch(59.87% 0.114 69.5)
XYZxyz(23.1635, 20.8346, 4.6349)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7226 #265FAB
analogous
#AB3026 #AB7226 #A1AB26
triadic
#AB7226 #26AB72 #7226AB
tetradic
#AB7226 #26AB30 #265FAB #AB26A1
square
#AB7226 #26AB30 #265FAB #AB26A1
split-complementary
#AB7226 #26A1AB #3026AB
monochromatic
#472F10 #79511B #AB7226 #D3923B #DFAE6D

Accessibility & contrast

On white

4.06
#AB7226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AB7226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7226
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7226#FFFFFF#000000##000000
##AB72261.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761B
Deuteranopia (green-blind)
#938328
Tritanopia (blue-blind)
#BB6463
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab7226;
/* rgb */ color: rgb(171, 114, 38);
/* oklch */ color: oklch(59.9% 0.114 69.5);
Tailwind
colors: {
  custom: {
    50: '#c99a66',
    500: '#ab7226',
    950: '#000000',
  },
}
SCSS
$custom: #ab7226;
$custom-light: #c99a66;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7226",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 34.286,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.11398,
    "h": 69.5
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#AB7226
secondary
#6890C5
accent
#88E741
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7226

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

Preview Lab → · Contrast checker → · Palette generator →

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