#AB7F2E#AB7F2E

#AB7F2E is a light, moderate orange. Relative luminance 0.240; OKLCH L 62.5% C 0.110 H 79.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB7F2E
RGBrgb(171, 127, 46)
HSLhsl(39, 58%, 43%)
HSVhsv(39, 73%, 67%)
CMYKcmyk(0%, 25.7%, 73.1%, 32.9%)
CIE-LABlab(56.12, 8.96, 48.61)
CIE-LCHlch(56.12, 49.43, 79.55°)
OKLaboklab(62.51% 0.0207 0.1083)
OKLCHoklch(62.51% 0.11 79.2)
XYZxyz(24.8787, 24.0358, 5.9133)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7F2E #2E5AAB
analogous
#AB402E #AB7F2E #99AB2E
triadic
#AB7F2E #2EAB7F #7F2EAB
tetradic
#AB7F2E #2EAB40 #2E5AAB #AB2E99
square
#AB7F2E #2EAB40 #2E5AAB #AB2E99
split-complementary
#AB7F2E #2E99AB #402EAB
monochromatic
#4B3714 #7B5B21 #AB7F2E #CE9F48 #DBB879

Accessibility & contrast

On white

3.62
#AB7F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#AB7F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7F2E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7F2E#FFFFFF#000000##000000
##AB7F2E1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#BA726E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab7f2e;
/* rgb */ color: rgb(171, 127, 46);
/* oklch */ color: oklch(62.5% 0.110 79.2);
Tailwind
colors: {
  custom: {
    50: '#c8a36c',
    500: '#ab7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab7f2e;
$custom-light: #c8a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7f2e",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 38.88,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62505,
    "c": 0.11021,
    "h": 79.2
  },
  "luminance": 0.24034
}

Semantic roles & 50–950 ramp

primary
#AB7F2E
secondary
#728EC3
accent
#7DE147
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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