#AB7F2B#AB7F2B

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

Color values

HEX#AB7F2B
RGBrgb(171, 127, 43)
HSLhsl(39, 60%, 42%)
HSVhsv(39, 75%, 67%)
CMYKcmyk(0%, 25.7%, 74.9%, 32.9%)
CIE-LABlab(56.10, 8.82, 49.88)
CIE-LCHlch(56.10, 50.65, 79.98°)
OKLaboklab(62.48% 0.0199 0.1103)
OKLCHoklch(62.48% 0.112 79.8)
XYZxyz(24.8216, 24.0130, 5.6127)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7F2B #2B57AB
analogous
#AB3F2B #AB7F2B #97AB2B
triadic
#AB7F2B #2BAB7F #7F2BAB
tetradic
#AB7F2B #2BAB3F #2B57AB #AB2B97
square
#AB7F2B #2BAB3F #2B57AB #AB2B97
split-complementary
#AB7F2B #2B97AB #3F2BAB
monochromatic
#493612 #7A5B1F #AB7F2B #D0A043 #DCB874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB7F2B#FFFFFF#000000##000000
##AB7F2B1.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)
#90801F
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#BA726E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7f2b;
/* rgb */ color: rgb(171, 127, 43);
/* oklch */ color: oklch(62.5% 0.112 79.8);
Tailwind
colors: {
  custom: {
    50: '#c8a36a',
    500: '#ab7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab7f2b;
$custom-light: #c8a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7f2b",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 39.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6248,
    "c": 0.1121,
    "h": 79.8
  },
  "luminance": 0.24011
}

Semantic roles & 50–950 ramp

primary
#AB7F2B
secondary
#6E8CC4
accent
#7BE345
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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