#AB7D2F#AB7D2F

#AB7D2F is a light, moderate orange. Relative luminance 0.235; OKLCH L 62.1% C 0.109 H 77.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AB7D2F
RGBrgb(171, 125, 47)
HSLhsl(38, 57%, 43%)
HSVhsv(38, 73%, 67%)
CMYKcmyk(0%, 26.9%, 72.5%, 32.9%)
CIE-LABlab(55.62, 10.13, 47.65)
CIE-LCHlch(55.62, 48.72, 77.99°)
OKLaboklab(62.11% 0.0243 0.1064)
OKLCHoklch(62.11% 0.109 77.2)
XYZxyz(24.6429, 23.5323, 5.9331)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7D2F #2F5DAB
analogous
#AB3F2F #AB7D2F #9BAB2F
triadic
#AB7D2F #2FAB7D #7D2FAB
tetradic
#AB7D2F #2FAB3F #2F5DAB #AB2F9B
square
#AB7D2F #2FAB3F #2F5DAB #AB2F9B
split-complementary
#AB7D2F #2F9BAB #3F2FAB
monochromatic
#4B3715 #7B5A22 #AB7D2F #CD9D4A #DAB77A

Accessibility & contrast

On white

3.68
#AB7D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#AB7D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7D2F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7D2F#FFFFFF#000000##000000
##AB7D2F1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F25
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#BA706D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab7d2f;
/* rgb */ color: rgb(171, 125, 47);
/* oklch */ color: oklch(62.1% 0.109 77.2);
Tailwind
colors: {
  custom: {
    50: '#c8a26c',
    500: '#ab7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab7d2f;
$custom-light: #c8a26c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7d2f",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 37.742,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62111,
    "c": 0.10914,
    "h": 77.2
  },
  "luminance": 0.2353
}

Semantic roles & 50–950 ramp

primary
#AB7D2F
secondary
#7391C3
accent
#80E048
background
#FCF9F6
surface
#F9F2EC
border
#D2CCC7
text
#140F07
muted
#827E7A

Preview Lab

Preview with #AB7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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