#AB7F2F#AB7F2F

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

Color values

HEX#AB7F2F
RGBrgb(171, 127, 47)
HSLhsl(39, 57%, 43%)
HSVhsv(39, 73%, 67%)
CMYKcmyk(0%, 25.7%, 72.5%, 32.9%)
CIE-LABlab(56.13, 9.01, 48.18)
CIE-LCHlch(56.13, 49.02, 79.40°)
OKLaboklab(62.51% 0.021 0.1075)
OKLCHoklch(62.51% 0.11 79)
XYZxyz(24.8987, 24.0438, 6.0183)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7F2F #2F5BAB
analogous
#AB412F #AB7F2F #99AB2F
triadic
#AB7F2F #2FAB7F #7F2FAB
tetradic
#AB7F2F #2FAB41 #2F5BAB #AB2F99
square
#AB7F2F #2FAB41 #2F5BAB #AB2F99
split-complementary
#AB7F2F #2F99AB #412FAB
monochromatic
#4B3815 #7B5B22 #AB7F2F #CD9F4A #DAB87A

Accessibility & contrast

On white

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

On black

5.81
#AB7F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7F2F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7F2F#FFFFFF#000000##000000
##AB7F2F1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#BA726E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab7f2f;
/* rgb */ color: rgb(171, 127, 47);
/* oklch */ color: oklch(62.5% 0.110 79.0);
Tailwind
colors: {
  custom: {
    50: '#c8a36c',
    500: '#ab7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab7f2f;
$custom-light: #c8a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7f2f",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 38.71,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62514,
    "c": 0.10956,
    "h": 79
  },
  "luminance": 0.24042
}

Semantic roles & 50–950 ramp

primary
#AB7F2F
secondary
#738FC3
accent
#7EE048
background
#FCFAF6
surface
#F9F3EC
border
#D2CDC7
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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