#AB7F27#AB7F27

#AB7F27 is a light, moderate orange. Relative luminance 0.240; OKLCH L 62.4% C 0.114 H 80.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AB7F27
RGBrgb(171, 127, 39)
HSLhsl(40, 63%, 41%)
HSVhsv(40, 77%, 67%)
CMYKcmyk(0%, 25.7%, 77.2%, 32.9%)
CIE-LABlab(56.07, 8.64, 51.49)
CIE-LCHlch(56.07, 52.21, 80.48°)
OKLaboklab(62.45% 0.0189 0.1129)
OKLCHoklch(62.45% 0.114 80.5)
XYZxyz(24.7518, 23.9851, 5.2450)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7F27 #2753AB
analogous
#AB3D27 #AB7F27 #95AB27
triadic
#AB7F27 #27AB7F #7F27AB
tetradic
#AB7F27 #27AB3D #2753AB #AB2795
square
#AB7F27 #27AB3D #2753AB #AB2795
split-complementary
#AB7F27 #2795AB #3D27AB
monochromatic
#473510 #795A1C #AB7F27 #D3A13D #DEB96E

Accessibility & contrast

On white

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

On black

5.80
#AB7F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7F27
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7F27#FFFFFF#000000##000000
##AB7F271.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#BA726E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7f27;
/* rgb */ color: rgb(171, 127, 39);
/* oklch */ color: oklch(62.4% 0.114 80.5);
Tailwind
colors: {
  custom: {
    50: '#c9a368',
    500: '#ab7f27',
    950: '#000000',
  },
}
SCSS
$custom: #ab7f27;
$custom-light: #c9a368;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7f27",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 40,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62449,
    "c": 0.11447,
    "h": 80.5
  },
  "luminance": 0.23983
}

Semantic roles & 50–950 ramp

primary
#AB7F27
secondary
#6988C5
accent
#79E642
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #AB7F27

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

Preview Lab → · Contrast checker → · Palette generator →

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