#AB7A27#AB7A27

#AB7A27 is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.4% C 0.114 H 76.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB7A27
RGBrgb(171, 122, 39)
HSLhsl(38, 63%, 41%)
HSVhsv(38, 77%, 67%)
CMYKcmyk(0%, 28.7%, 77.2%, 32.9%)
CIE-LABlab(54.79, 11.44, 50.26)
CIE-LCHlch(54.79, 51.55, 77.18°)
OKLaboklab(61.44% 0.027 0.1103)
OKLCHoklch(61.44% 0.114 76.2)
XYZxyz(24.1220, 22.7255, 5.0351)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7A27 #2758AB
analogous
#AB3827 #AB7A27 #9AAB27
triadic
#AB7A27 #27AB7A #7A27AB
tetradic
#AB7A27 #27AB38 #2758AB #AB279A
square
#AB7A27 #27AB38 #2758AB #AB279A
split-complementary
#AB7A27 #279AAB #3827AB
monochromatic
#473310 #79561C #AB7A27 #D39B3D #DEB56E

Accessibility & contrast

On white

3.79
#AB7A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AB7A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7A27
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7A27#FFFFFF#000000##000000
##AB7A271.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#BA6D69
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab7a27;
/* rgb */ color: rgb(171, 122, 39);
/* oklch */ color: oklch(61.4% 0.114 76.2);
Tailwind
colors: {
  custom: {
    50: '#c9a067',
    500: '#ab7a27',
    950: '#000000',
  },
}
SCSS
$custom: #ab7a27;
$custom-light: #c9a067;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7a27",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 37.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61444,
    "c": 0.11353,
    "h": 76.2
  },
  "luminance": 0.22723
}

Semantic roles & 50–950 ramp

primary
#AB7A27
secondary
#698BC5
accent
#7FE642
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7A27

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

Preview Lab → · Contrast checker → · Palette generator →

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