#AB7138#AB7138

#AB7138 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.9% C 0.103 H 63.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AB7138
RGBrgb(171, 113, 56)
HSLhsl(30, 51%, 45%)
HSVhsv(30, 67%, 67%)
CMYKcmyk(0%, 33.9%, 67.3%, 32.9%)
CIE-LABlab(52.68, 17.40, 40.20)
CIE-LCHlch(52.68, 43.80, 66.59°)
OKLaboklab(59.85% 0.047 0.0921)
OKLCHoklch(59.85% 0.103 63)
XYZxyz(23.4152, 20.7558, 6.5137)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7138 #3872AB
analogous
#AB3839 #AB7138 #ABAB38
triadic
#AB7138 #38AB71 #7138AB
tetradic
#AB7138 #39AB38 #3872AB #AB38AB
square
#AB7138 #39AB38 #3872AB #AB38AB
split-complementary
#AB7138 #38ABAB #3839AB
monochromatic
#4F341A #7D5329 #AB7138 #C89058 #D7AE86

Accessibility & contrast

On white

4.08
#AB7138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AB7138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7138
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7138#FFFFFF#000000##000000
##AB71381.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837632
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#BA6464
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab7138;
/* rgb */ color: rgb(171, 113, 56);
/* oklch */ color: oklch(59.9% 0.103 63.0);
Tailwind
colors: {
  custom: {
    50: '#c89a71',
    500: '#ab7138',
    950: '#000000',
  },
}
SCSS
$custom: #ab7138;
$custom-light: #c89a71;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7138",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 29.739,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.1034,
    "h": 63
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#AB7138
secondary
#7DA0C1
accent
#95DA4E
background
#FCF9F6
surface
#F9F2EC
border
#D2CCC7
text
#140E08
muted
#827E7B

Preview Lab

Preview with #AB7138

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

Preview Lab → · Contrast checker → · Palette generator →

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