#AB7E2B#AB7E2B

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

Color values

HEX#AB7E2B
RGBrgb(171, 126, 43)
HSLhsl(39, 60%, 42%)
HSVhsv(39, 75%, 67%)
CMYKcmyk(0%, 26.3%, 74.9%, 32.9%)
CIE-LABlab(55.84, 9.38, 49.62)
CIE-LCHlch(55.84, 50.50, 79.30°)
OKLaboklab(62.28% 0.0215 0.1098)
OKLCHoklch(62.28% 0.112 78.9)
XYZxyz(24.6931, 23.7560, 5.5698)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7E2B #2B58AB
analogous
#AB3E2B #AB7E2B #98AB2B
triadic
#AB7E2B #2BAB7E #7E2BAB
tetradic
#AB7E2B #2BAB3E #2B58AB #AB2B98
square
#AB7E2B #2BAB3E #2B58AB #AB2B98
split-complementary
#AB7E2B #2B98AB #3E2BAB
monochromatic
#493612 #7A5A1F #AB7E2B #D09E43 #DCB874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB7E2B#FFFFFF#000000##000000
##AB7E2B1.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)
#8F7F1F
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#BA716D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7e2b;
/* rgb */ color: rgb(171, 126, 43);
/* oklch */ color: oklch(62.3% 0.112 78.9);
Tailwind
colors: {
  custom: {
    50: '#c8a36a',
    500: '#ab7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab7e2b;
$custom-light: #c8a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7e2b",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 38.906,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62278,
    "c": 0.11187,
    "h": 78.9
  },
  "luminance": 0.23754
}

Semantic roles & 50–950 ramp

primary
#AB7E2B
secondary
#6E8CC4
accent
#7CE345
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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