#AB781C#AB781C

#AB781C is a mid, moderate orange. Relative luminance 0.222; OKLCH L 61.0% C 0.119 H 76.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB781C
RGBrgb(171, 120, 28)
HSLhsl(39, 72%, 39%)
HSVhsv(39, 84%, 67%)
CMYKcmyk(0%, 29.8%, 83.6%, 32.9%)
CIE-LABlab(54.21, 12.16, 53.86)
CIE-LCHlch(54.21, 55.22, 77.28°)
OKLaboklab(60.98% 0.0279 0.1154)
OKLCHoklch(60.98% 0.119 76.4)
XYZxyz(23.7224, 22.1768, 4.1295)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB781C #1C4FAB
analogous
#AB301C #AB781C #97AB1C
triadic
#AB781C #1CAB78 #781CAB
tetradic
#AB781C #1CAB30 #1C4FAB #AB1C97
square
#AB781C #1CAB30 #1C4FAB #AB1C97
split-complementary
#AB781C #1C97AB #301CAB
monochromatic
#422E0B #765313 #AB781C #DC9C28 #E4B45D

Accessibility & contrast

On white

3.86
#AB781C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AB781C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB781C
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB781C#FFFFFF#000000##000000
##AB781C1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A05
Deuteranopia (green-blind)
#978720
Tritanopia (blue-blind)
#BB6A67
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab781c;
/* rgb */ color: rgb(171, 120, 28);
/* oklch */ color: oklch(61.0% 0.119 76.4);
Tailwind
colors: {
  custom: {
    50: '#c99e61',
    500: '#ab781c',
    950: '#000000',
  },
}
SCSS
$custom: #ab781c;
$custom-light: #c99e61;
$custom-dark: #000000;
JSON
{
  "hex": "#ab781c",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 38.601,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.11874,
    "h": 76.4
  },
  "luminance": 0.22175
}

Semantic roles & 50–950 ramp

primary
#AB781C
secondary
#5A82C9
accent
#7AEF39
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E05
muted
#837E7A

Preview Lab

Preview with #AB781C

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

Preview Lab → · Contrast checker → · Palette generator →

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