#AB7D1C#AB7D1C

#AB7D1C is a mid, moderate orange. Relative luminance 0.234; OKLCH L 62.0% C 0.119 H 80.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AB7D1C
RGBrgb(171, 125, 28)
HSLhsl(41, 72%, 39%)
HSVhsv(41, 84%, 67%)
CMYKcmyk(0%, 26.9%, 83.6%, 32.9%)
CIE-LABlab(55.49, 9.35, 54.97)
CIE-LCHlch(55.49, 55.76, 80.34°)
OKLaboklab(61.98% 0.0198 0.1179)
OKLCHoklch(61.98% 0.119 80.5)
XYZxyz(24.3395, 23.4110, 4.3352)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7D1C #1C4AAB
analogous
#AB361C #AB7D1C #92AB1C
triadic
#AB7D1C #1CAB7D #7D1CAB
tetradic
#AB7D1C #1CAB36 #1C4AAB #AB1C92
square
#AB7D1C #1CAB36 #1C4AAB #AB1C92
split-complementary
#AB7D1C #1C92AB #361CAB
monochromatic
#42300B #765713 #AB7D1C #DCA228 #E4B95D

Accessibility & contrast

On white

3.70
#AB7D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AB7D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7D1C
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7D1C#FFFFFF#000000##000000
##AB7D1C1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#9A8A21
Tritanopia (blue-blind)
#BA706B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab7d1c;
/* rgb */ color: rgb(171, 125, 28);
/* oklch */ color: oklch(62.0% 0.119 80.5);
Tailwind
colors: {
  custom: {
    50: '#c9a262',
    500: '#ab7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #ab7d1c;
$custom-light: #c9a262;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7d1c",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 40.699,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.11949,
    "h": 80.5
  },
  "luminance": 0.23409
}

Semantic roles & 50–950 ramp

primary
#AB7D1C
secondary
#5A7EC9
accent
#74EF39
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140F06
muted
#837E7A

Preview Lab

Preview with #AB7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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