#AB7E23#AB7E23

#AB7E23 is a light, moderate orange. Relative luminance 0.237; OKLCH L 62.2% C 0.116 H 80.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AB7E23
RGBrgb(171, 126, 35)
HSLhsl(40, 66%, 40%)
HSVhsv(40, 80%, 67%)
CMYKcmyk(0%, 26.3%, 79.5%, 32.9%)
CIE-LABlab(55.79, 9.04, 52.77)
CIE-LCHlch(55.79, 53.54, 80.28°)
OKLaboklab(62.22% 0.0196 0.1147)
OKLCHoklch(62.22% 0.116 80.3)
XYZxyz(24.5605, 23.7029, 4.8714)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7E23 #2350AB
analogous
#AB3A23 #AB7E23 #94AB23
triadic
#AB7E23 #23AB7E #7E23AB
tetradic
#AB7E23 #23AB3A #2350AB #AB2394
square
#AB7E23 #23AB3A #2350AB #AB2394
split-complementary
#AB7E23 #2394AB #3A23AB
monochromatic
#45330E #785919 #AB7E23 #D6A135 #E0B868

Accessibility & contrast

On white

3.66
#AB7E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AB7E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7E23
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7E23#FFFFFF#000000##000000
##AB7E231.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F12
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#BA716C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7e23;
/* rgb */ color: rgb(171, 126, 35);
/* oklch */ color: oklch(62.2% 0.116 80.3);
Tailwind
colors: {
  custom: {
    50: '#c9a365',
    500: '#ab7e23',
    950: '#000000',
  },
}
SCSS
$custom: #ab7e23;
$custom-light: #c9a365;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7e23",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 40.147,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62219,
    "c": 0.1164,
    "h": 80.3
  },
  "luminance": 0.23701
}

Semantic roles & 50–950 ramp

primary
#AB7E23
secondary
#6484C6
accent
#77E93F
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #AB7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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