#AB7F1C#AB7F1C

#AB7F1C is a light, moderate orange. Relative luminance 0.239; OKLCH L 62.4% C 0.120 H 82.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AB7F1C
RGBrgb(171, 127, 28)
HSLhsl(42, 72%, 39%)
HSVhsv(42, 84%, 67%)
CMYKcmyk(0%, 25.7%, 83.6%, 32.9%)
CIE-LABlab(56.01, 8.23, 55.42)
CIE-LCHlch(56.01, 56.02, 81.55°)
OKLaboklab(62.38% 0.0165 0.1188)
OKLCHoklch(62.38% 0.12 82.1)
XYZxyz(24.5953, 23.9224, 4.4205)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7F1C #1C48AB
analogous
#AB371C #AB7F1C #90AB1C
triadic
#AB7F1C #1CAB7F #7F1CAB
tetradic
#AB7F1C #1CAB37 #1C48AB #AB1C90
square
#AB7F1C #1CAB37 #1C48AB #AB1C90
split-complementary
#AB7F1C #1C90AB #371CAB
monochromatic
#42310B #765813 #AB7F1C #DCA528 #E4BB5D

Accessibility & contrast

On white

3.63
#AB7F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#AB7F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7F1C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7F1C#FFFFFF#000000##000000
##AB7F1C1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918001
Deuteranopia (green-blind)
#9B8B21
Tritanopia (blue-blind)
#BA726D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7f1c;
/* rgb */ color: rgb(171, 127, 28);
/* oklch */ color: oklch(62.4% 0.120 82.1);
Tailwind
colors: {
  custom: {
    50: '#c9a362',
    500: '#ab7f1c',
    950: '#000000',
  },
}
SCSS
$custom: #ab7f1c;
$custom-light: #c9a362;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7f1c",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 41.538,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6238,
    "c": 0.11997,
    "h": 82.1
  },
  "luminance": 0.23921
}

Semantic roles & 50–950 ramp

primary
#AB7F1C
secondary
#5A7CC9
accent
#71EF39
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #AB7F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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