#AB7E2A#AB7E2A

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

Color values

HEX#AB7E2A
RGBrgb(171, 126, 42)
HSLhsl(39, 61%, 42%)
HSVhsv(39, 75%, 67%)
CMYKcmyk(0%, 26.3%, 75.4%, 32.9%)
CIE-LABlab(55.84, 9.33, 50.04)
CIE-LCHlch(55.84, 50.90, 79.44°)
OKLaboklab(62.27% 0.0213 0.1105)
OKLCHoklch(62.27% 0.112 79.1)
XYZxyz(24.6750, 23.7487, 5.4744)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7E2A #2A57AB
analogous
#AB3E2A #AB7E2A #98AB2A
triadic
#AB7E2A #2AAB7E #7E2AAB
tetradic
#AB7E2A #2AAB3E #2A57AB #AB2A98
square
#AB7E2A #2AAB3E #2A57AB #AB2A98
split-complementary
#AB7E2A #2A98AB #3E2AAB
monochromatic
#493612 #7A5A1E #AB7E2A #D19F42 #DDB873

Accessibility & contrast

On white

3.65
#AB7E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB7E2A#FFFFFF#000000##000000
##AB7E2A1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab7e2a;
/* rgb */ color: rgb(171, 126, 42);
/* oklch */ color: oklch(62.3% 0.112 79.1);
Tailwind
colors: {
  custom: {
    50: '#c8a369',
    500: '#ab7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab7e2a;
$custom-light: #c8a369;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7e2a",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 39.07,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6227,
    "c": 0.11248,
    "h": 79.1
  },
  "luminance": 0.23747
}

Semantic roles & 50–950 ramp

primary
#AB7E2A
secondary
#6D8BC4
accent
#7CE444
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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