#AB7826#AB7826

#AB7826 is a mid, moderate orange. Relative luminance 0.222; OKLCH L 61.0% C 0.114 H 74.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB7826
RGBrgb(171, 120, 38)
HSLhsl(37, 64%, 41%)
HSVhsv(37, 78%, 67%)
CMYKcmyk(0%, 29.8%, 77.8%, 32.9%)
CIE-LABlab(54.27, 12.52, 50.18)
CIE-LCHlch(54.27, 51.72, 75.99°)
OKLaboklab(61.04% 0.0301 0.1099)
OKLCHoklch(61.04% 0.114 74.7)
XYZxyz(23.8626, 22.2328, 4.8679)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7826 #2659AB
analogous
#AB3526 #AB7826 #9BAB26
triadic
#AB7826 #26AB78 #7826AB
tetradic
#AB7826 #26AB35 #2659AB #AB269B
square
#AB7826 #26AB35 #2659AB #AB269B
split-complementary
#AB7826 #269BAB #3526AB
monochromatic
#473210 #79551B #AB7826 #D3993B #DFB36D

Accessibility & contrast

On white

3.86
#AB7826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AB7826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7826
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7826#FFFFFF#000000##000000
##AB78261.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#BA6B68
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab7826;
/* rgb */ color: rgb(171, 120, 38);
/* oklch */ color: oklch(61.0% 0.114 74.7);
Tailwind
colors: {
  custom: {
    50: '#c99e66',
    500: '#ab7826',
    950: '#000000',
  },
}
SCSS
$custom: #ab7826;
$custom-light: #c99e66;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7826",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 38
  },
  "hsl": {
    "h": 36.992,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.1139,
    "h": 74.7
  },
  "luminance": 0.22231
}

Semantic roles & 50–950 ramp

primary
#AB7826
secondary
#688CC5
accent
#81E741
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7826

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

Preview Lab → · Contrast checker → · Palette generator →

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