#AB7F29#AB7F29

#AB7F29 is a light, moderate orange. Relative luminance 0.240; OKLCH L 62.5% C 0.113 H 80.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AB7F29
RGBrgb(171, 127, 41)
HSLhsl(40, 61%, 42%)
HSVhsv(40, 76%, 67%)
CMYKcmyk(0%, 25.7%, 76%, 32.9%)
CIE-LABlab(56.09, 8.72, 50.70)
CIE-LCHlch(56.09, 51.44, 80.24°)
OKLaboklab(62.46% 0.0194 0.1116)
OKLCHoklch(62.46% 0.113 80.2)
XYZxyz(24.7858, 23.9987, 5.4242)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7F29 #2955AB
analogous
#AB3E29 #AB7F29 #96AB29
triadic
#AB7F29 #29AB7F #7F29AB
tetradic
#AB7F29 #29AB3E #2955AB #AB2996
square
#AB7F29 #29AB3E #2955AB #AB2996
split-complementary
#AB7F29 #2996AB #3E29AB
monochromatic
#483611 #7A5A1D #AB7F29 #D1A040 #DDB971

Accessibility & contrast

On white

3.62
#AB7F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AB7F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7F29
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7F29#FFFFFF#000000##000000
##AB7F291.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#BA726E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7f29;
/* rgb */ color: rgb(171, 127, 41);
/* oklch */ color: oklch(62.5% 0.113 80.2);
Tailwind
colors: {
  custom: {
    50: '#c8a369',
    500: '#ab7f29',
    950: '#000000',
  },
}
SCSS
$custom: #ab7f29;
$custom-light: #c8a369;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7f29",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 39.692,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62464,
    "c": 0.11331,
    "h": 80.2
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#AB7F29
secondary
#6C8AC4
accent
#7AE443
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB7F29

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

Preview Lab → · Contrast checker → · Palette generator →

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