#AB5F2B#AB5F2B

#AB5F2B is a mid, moderate orange. Relative luminance 0.170; OKLCH L 56.4% C 0.118 H 52.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB5F2B
RGBrgb(171, 95, 43)
HSLhsl(24, 60%, 42%)
HSVhsv(24, 75%, 67%)
CMYKcmyk(0%, 44.4%, 74.9%, 32.9%)
CIE-LABlab(48.28, 26.73, 41.96)
CIE-LCHlch(48.28, 49.75, 57.50°)
OKLaboklab(56.41% 0.0728 0.0934)
OKLCHoklch(56.41% 0.118 52.1)
XYZxyz(21.3247, 17.0191, 4.4470)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5F2B #2B77AB
analogous
#AB2B37 #AB5F2B #AB9F2B
triadic
#AB5F2B #2BAB5F #5F2BAB
tetradic
#AB5F2B #37AB2B #2B77AB #9F2BAB
square
#AB5F2B #37AB2B #2B77AB #9F2BAB
split-complementary
#AB5F2B #2BAB9F #2B37AB
monochromatic
#492912 #7A441F #AB5F2B #D07C43 #DC9E74

Accessibility & contrast

On white

4.77
#AB5F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB5F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5F2B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5F2B#FFFFFF#000000##FFFFFF
##AB5F2B1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756825
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#BB4F54
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab5f2b;
/* rgb */ color: rgb(171, 95, 43);
/* oklch */ color: oklch(56.4% 0.118 52.1);
Tailwind
colors: {
  custom: {
    50: '#ca8d67',
    500: '#ab5f2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab5f2b;
$custom-light: #ca8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5f2b",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 24.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.11845,
    "h": 52.1
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#AB5F2B
secondary
#6EA1C4
accent
#A3E345
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#140C06
muted
#837D7A

Preview Lab

Preview with #AB5F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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