#AB7F2C#AB7F2C

#AB7F2C is a light, moderate orange. Relative luminance 0.240; OKLCH L 62.5% C 0.111 H 79.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AB7F2C
RGBrgb(171, 127, 44)
HSLhsl(39, 59%, 42%)
HSVhsv(39, 74%, 67%)
CMYKcmyk(0%, 25.7%, 74.3%, 32.9%)
CIE-LABlab(56.11, 8.86, 49.46)
CIE-LCHlch(56.11, 50.25, 79.84°)
OKLaboklab(62.49% 0.0202 0.1096)
OKLCHoklch(62.49% 0.111 79.6)
XYZxyz(24.8402, 24.0204, 5.7105)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7F2C #2C58AB
analogous
#AB402C #AB7F2C #97AB2C
triadic
#AB7F2C #2CAB7F #7F2CAB
tetradic
#AB7F2C #2CAB40 #2C58AB #AB2C97
square
#AB7F2C #2CAB40 #2C58AB #AB2C97
split-complementary
#AB7F2C #2C97AB #402CAB
monochromatic
#4A3713 #7A5B1F #AB7F2C #CF9F45 #DCB876

Accessibility & contrast

On white

3.62
#AB7F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AB7F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7F2C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7F2C#FFFFFF#000000##000000
##AB7F2C1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#BA726E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7f2c;
/* rgb */ color: rgb(171, 127, 44);
/* oklch */ color: oklch(62.5% 0.111 79.6);
Tailwind
colors: {
  custom: {
    50: '#c8a36a',
    500: '#ab7f2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab7f2c;
$custom-light: #c8a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7f2c",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 39.213,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62488,
    "c": 0.11148,
    "h": 79.6
  },
  "luminance": 0.24019
}

Semantic roles & 50–950 ramp

primary
#AB7F2C
secondary
#6F8CC3
accent
#7CE246
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB7F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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