#AB7C2F#AB7C2F

#AB7C2F is a mid, moderate orange. Relative luminance 0.233; OKLCH L 61.9% C 0.109 H 76.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB7C2F
RGBrgb(171, 124, 47)
HSLhsl(37, 57%, 43%)
HSVhsv(37, 73%, 67%)
CMYKcmyk(0%, 27.5%, 72.5%, 32.9%)
CIE-LABlab(55.36, 10.70, 47.39)
CIE-LCHlch(55.36, 48.58, 77.28°)
OKLaboklab(61.91% 0.0259 0.1059)
OKLCHoklch(61.91% 0.109 76.3)
XYZxyz(24.5170, 23.2804, 5.8911)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7C2F #2F5EAB
analogous
#AB3E2F #AB7C2F #9CAB2F
triadic
#AB7C2F #2FAB7C #7C2FAB
tetradic
#AB7C2F #2FAB3E #2F5EAB #AB2F9C
square
#AB7C2F #2FAB3E #2F5EAB #AB2F9C
split-complementary
#AB7C2F #2F9CAB #3E2FAB
monochromatic
#4B3615 #7B5922 #AB7C2F #CD9B4A #DAB67A

Accessibility & contrast

On white

3.71
#AB7C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AB7C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7C2F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7C2F#FFFFFF#000000##000000
##AB7C2F1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E25
Deuteranopia (green-blind)
#998932
Tritanopia (blue-blind)
#BA6F6C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab7c2f;
/* rgb */ color: rgb(171, 124, 47);
/* oklch */ color: oklch(61.9% 0.109 76.3);
Tailwind
colors: {
  custom: {
    50: '#c8a16c',
    500: '#ab7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab7c2f;
$custom-light: #c8a16c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7c2f",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 37.258,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6191,
    "c": 0.10897,
    "h": 76.3
  },
  "luminance": 0.23278
}

Semantic roles & 50–950 ramp

primary
#AB7C2F
secondary
#7391C3
accent
#81E048
background
#FCF9F6
surface
#F9F2EC
border
#D2CCC7
text
#140F07
muted
#827E7A

Preview Lab

Preview with #AB7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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