#AB7E27#AB7E27

#AB7E27 is a light, moderate orange. Relative luminance 0.237; OKLCH L 62.2% C 0.114 H 79.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AB7E27
RGBrgb(171, 126, 39)
HSLhsl(40, 63%, 41%)
HSVhsv(40, 77%, 67%)
CMYKcmyk(0%, 26.3%, 77.2%, 32.9%)
CIE-LABlab(55.81, 9.20, 51.25)
CIE-LCHlch(55.81, 52.06, 79.83°)
OKLaboklab(62.25% 0.0205 0.1124)
OKLCHoklch(62.25% 0.114 79.7)
XYZxyz(24.6233, 23.7280, 5.2022)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7E27 #2754AB
analogous
#AB3C27 #AB7E27 #96AB27
triadic
#AB7E27 #27AB7E #7E27AB
tetradic
#AB7E27 #27AB3C #2754AB #AB2796
square
#AB7E27 #27AB3C #2754AB #AB2796
split-complementary
#AB7E27 #2796AB #3C27AB
monochromatic
#473510 #79591C #AB7E27 #D39F3D #DEB86E

Accessibility & contrast

On white

3.66
#AB7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AB7E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7E27
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7E27#FFFFFF#000000##000000
##AB7E271.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#BA716D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7e27;
/* rgb */ color: rgb(171, 126, 39);
/* oklch */ color: oklch(62.2% 0.114 79.7);
Tailwind
colors: {
  custom: {
    50: '#c9a368',
    500: '#ab7e27',
    950: '#000000',
  },
}
SCSS
$custom: #ab7e27;
$custom-light: #c9a368;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7e27",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 39.545,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62247,
    "c": 0.11423,
    "h": 79.7
  },
  "luminance": 0.23726
}

Semantic roles & 50–950 ramp

primary
#AB7E27
secondary
#6988C5
accent
#7AE642
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #AB7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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