#AB7A2F#AB7A2F

#AB7A2F is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.5% C 0.109 H 74.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB7A2F
RGBrgb(171, 122, 47)
HSLhsl(36, 57%, 43%)
HSVhsv(36, 73%, 67%)
CMYKcmyk(0%, 28.7%, 72.5%, 32.9%)
CIE-LABlab(54.85, 11.82, 46.87)
CIE-LCHlch(54.85, 48.33, 75.84°)
OKLaboklab(61.51% 0.0292 0.1047)
OKLCHoklch(61.51% 0.109 74.4)
XYZxyz(24.2689, 22.7842, 5.8084)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7A2F #2F60AB
analogous
#AB3C2F #AB7A2F #9EAB2F
triadic
#AB7A2F #2FAB7A #7A2FAB
tetradic
#AB7A2F #2FAB3C #2F60AB #AB2F9E
square
#AB7A2F #2FAB3C #2F60AB #AB2F9E
split-complementary
#AB7A2F #2F9EAB #3C2FAB
monochromatic
#4B3615 #7B5822 #AB7A2F #CD994A #DAB47A

Accessibility & contrast

On white

3.78
#AB7A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AB7A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7A2F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7A2F#FFFFFF#000000##000000
##AB7A2F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C26
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#BA6D6A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab7a2f;
/* rgb */ color: rgb(171, 122, 47);
/* oklch */ color: oklch(61.5% 0.109 74.4);
Tailwind
colors: {
  custom: {
    50: '#c8a06c',
    500: '#ab7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab7a2f;
$custom-light: #c8a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7a2f",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 36.29,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61511,
    "c": 0.10872,
    "h": 74.4
  },
  "luminance": 0.22782
}

Semantic roles & 50–950 ramp

primary
#AB7A2F
secondary
#7393C3
accent
#84E048
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E07
muted
#827E7A

Preview Lab

Preview with #AB7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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