#AB771C#AB771C

#AB771C is a mid, moderate orange. Relative luminance 0.219; OKLCH L 60.8% C 0.119 H 75.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB771C
RGBrgb(171, 119, 28)
HSLhsl(38, 72%, 39%)
HSVhsv(38, 84%, 67%)
CMYKcmyk(0%, 30.4%, 83.6%, 32.9%)
CIE-LABlab(53.96, 12.72, 53.64)
CIE-LCHlch(53.96, 55.13, 76.66°)
OKLaboklab(60.78% 0.0295 0.1149)
OKLCHoklch(60.78% 0.119 75.6)
XYZxyz(23.6028, 21.9375, 4.0897)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB771C #1C50AB
analogous
#AB301C #AB771C #98AB1C
triadic
#AB771C #1CAB77 #771CAB
tetradic
#AB771C #1CAB30 #1C50AB #AB1C98
square
#AB771C #1CAB30 #1C50AB #AB1C98
split-complementary
#AB771C #1C98AB #301CAB
monochromatic
#422E0B #765213 #AB771C #DC9B28 #E4B35D

Accessibility & contrast

On white

3.90
#AB771C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AB771C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB771C
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB771C#FFFFFF#000000##000000
##AB771C1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7906
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#BB6966
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab771c;
/* rgb */ color: rgb(171, 119, 28);
/* oklch */ color: oklch(60.8% 0.119 75.6);
Tailwind
colors: {
  custom: {
    50: '#c99e61',
    500: '#ab771c',
    950: '#000000',
  },
}
SCSS
$custom: #ab771c;
$custom-light: #c99e61;
$custom-dark: #000000;
JSON
{
  "hex": "#ab771c",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 38.182,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.11866,
    "h": 75.6
  },
  "luminance": 0.21935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB771C

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

Preview Lab → · Contrast checker → · Palette generator →

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