#AB7E2F#AB7E2F

#AB7E2F is a light, moderate orange. Relative luminance 0.238; OKLCH L 62.3% C 0.109 H 78.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB7E2F
RGBrgb(171, 126, 47)
HSLhsl(38, 57%, 43%)
HSVhsv(38, 73%, 67%)
CMYKcmyk(0%, 26.3%, 72.5%, 32.9%)
CIE-LABlab(55.87, 9.57, 47.92)
CIE-LCHlch(55.87, 48.86, 78.70°)
OKLaboklab(62.31% 0.0226 0.107)
OKLCHoklch(62.31% 0.109 78.1)
XYZxyz(24.7702, 23.7868, 5.9755)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7E2F #2F5CAB
analogous
#AB402F #AB7E2F #9AAB2F
triadic
#AB7E2F #2FAB7E #7E2FAB
tetradic
#AB7E2F #2FAB40 #2F5CAB #AB2F9A
square
#AB7E2F #2FAB40 #2F5CAB #AB2F9A
split-complementary
#AB7E2F #2F9AAB #402FAB
monochromatic
#4B3715 #7B5B22 #AB7E2F #CD9E4A #DAB77A

Accessibility & contrast

On white

3.65
#AB7E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#AB7E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7E2F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7E2F#FFFFFF#000000##000000
##AB7E2F1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F25
Deuteranopia (green-blind)
#9A8A32
Tritanopia (blue-blind)
#BA716E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7e2f;
/* rgb */ color: rgb(171, 126, 47);
/* oklch */ color: oklch(62.3% 0.109 78.1);
Tailwind
colors: {
  custom: {
    50: '#c8a36c',
    500: '#ab7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab7e2f;
$custom-light: #c8a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7e2f",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 38.226,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62312,
    "c": 0.10934,
    "h": 78.1
  },
  "luminance": 0.23785
}

Semantic roles & 50–950 ramp

primary
#AB7E2F
secondary
#7390C3
accent
#7FE048
background
#FCFAF6
surface
#F9F3EC
border
#D2CDC7
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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