#AB7A2B#AB7A2B

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

Color values

HEX#AB7A2B
RGBrgb(171, 122, 43)
HSLhsl(37, 60%, 42%)
HSVhsv(37, 75%, 67%)
CMYKcmyk(0%, 28.7%, 74.9%, 32.9%)
CIE-LABlab(54.82, 11.62, 48.61)
CIE-LCHlch(54.82, 49.98, 76.55°)
OKLaboklab(61.48% 0.0281 0.1076)
OKLCHoklch(61.48% 0.111 75.4)
XYZxyz(24.1918, 22.7534, 5.4028)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7A2B #2B5CAB
analogous
#AB3A2B #AB7A2B #9CAB2B
triadic
#AB7A2B #2BAB7A #7A2BAB
tetradic
#AB7A2B #2BAB3A #2B5CAB #AB2B9C
square
#AB7A2B #2BAB3A #2B5CAB #AB2B9C
split-complementary
#AB7A2B #2B9CAB #3A2BAB
monochromatic
#493412 #7A571F #AB7A2B #D09A43 #DCB474

Accessibility & contrast

On white

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

On black

5.55
#AB7A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7A2B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7A2B#FFFFFF#000000##000000
##AB7A2B1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C20
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#BA6D6A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab7a2b;
/* rgb */ color: rgb(171, 122, 43);
/* oklch */ color: oklch(61.5% 0.111 75.4);
Tailwind
colors: {
  custom: {
    50: '#c9a069',
    500: '#ab7a2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab7a2b;
$custom-light: #c9a069;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7a2b",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 37.031,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.61476,
    "c": 0.11121,
    "h": 75.4
  },
  "luminance": 0.22751
}

Semantic roles & 50–950 ramp

primary
#AB7A2B
secondary
#6E8FC4
accent
#81E345
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E07
muted
#827E7A

Preview Lab

Preview with #AB7A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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