#AB7E1C#AB7E1C

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

Color values

HEX#AB7E1C
RGBrgb(171, 126, 28)
HSLhsl(41, 72%, 39%)
HSVhsv(41, 84%, 67%)
CMYKcmyk(0%, 26.3%, 83.6%, 32.9%)
CIE-LABlab(55.75, 8.79, 55.19)
CIE-LCHlch(55.75, 55.89, 80.95°)
OKLaboklab(62.18% 0.0181 0.1183)
OKLCHoklch(62.18% 0.12 81.3)
XYZxyz(24.4668, 23.6654, 4.3777)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7E1C #1C49AB
analogous
#AB371C #AB7E1C #91AB1C
triadic
#AB7E1C #1CAB7E #7E1CAB
tetradic
#AB7E1C #1CAB37 #1C49AB #AB1C91
square
#AB7E1C #1CAB37 #1C49AB #AB1C91
split-complementary
#AB7E1C #1C91AB #371CAB
monochromatic
#42310B #765713 #AB7E1C #DCA328 #E4BA5D

Accessibility & contrast

On white

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

On black

5.73
#AB7E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7E1C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7E1C#FFFFFF#000000##000000
##AB7E1C1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F02
Deuteranopia (green-blind)
#9B8A21
Tritanopia (blue-blind)
#BA716C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7e1c;
/* rgb */ color: rgb(171, 126, 28);
/* oklch */ color: oklch(62.2% 0.120 81.3);
Tailwind
colors: {
  custom: {
    50: '#c9a362',
    500: '#ab7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #ab7e1c;
$custom-light: #c9a362;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7e1c",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 41.119,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62177,
    "c": 0.11972,
    "h": 81.3
  },
  "luminance": 0.23663
}

Semantic roles & 50–950 ramp

primary
#AB7E1C
secondary
#5A7DC9
accent
#72EF39
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140F06
muted
#837E7A

Preview Lab

Preview with #AB7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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