#AB7E40#AB7E40

#AB7E40 is a light, moderate orange. Relative luminance 0.239; OKLCH L 62.5% C 0.097 H 73.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB7E40
RGBrgb(171, 126, 64)
HSLhsl(35, 46%, 46%)
HSVhsv(35, 63%, 67%)
CMYKcmyk(0%, 26.3%, 62.6%, 32.9%)
CIE-LABlab(56.04, 10.62, 39.93)
CIE-LCHlch(56.04, 41.32, 75.10°)
OKLaboklab(62.5% 0.0281 0.0927)
OKLCHoklch(62.5% 0.097 73.2)
XYZxyz(25.1823, 23.9516, 8.1463)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7E40 #406DAB
analogous
#AB4840 #AB7E40 #A2AB40
triadic
#AB7E40 #40AB7E #7E40AB
tetradic
#AB7E40 #40AB48 #406DAB #AB40A2
square
#AB7E40 #40AB48 #406DAB #AB40A2
split-complementary
#AB7E40 #40A2AB #4840AB
monochromatic
#523C1F #7E5D2F #AB7E40 #C59C63 #D5B890

Accessibility & contrast

On white

3.63
#AB7E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AB7E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7E40
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7E40#FFFFFF#000000##000000
##AB7E401.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803A
Deuteranopia (green-blind)
#998B42
Tritanopia (blue-blind)
#B97270
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7e40;
/* rgb */ color: rgb(171, 126, 64);
/* oklch */ color: oklch(62.5% 0.097 73.2);
Tailwind
colors: {
  custom: {
    50: '#c7a377',
    500: '#ab7e40',
    950: '#000000',
  },
}
SCSS
$custom: #ab7e40;
$custom-light: #c7a377;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7e40",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 34.766,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.62495,
    "c": 0.09687,
    "h": 73.2
  },
  "luminance": 0.2395
}

Semantic roles & 50–950 ramp

primary
#AB7E40
secondary
#869FC1
accent
#8AD553
background
#FCFAF7
surface
#F9F3ED
border
#D2CDC8
text
#130F09
muted
#827F7B

Preview Lab

Preview with #AB7E40

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

Preview Lab → · Contrast checker → · Palette generator →

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