#AB7F28#AB7F28

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

Color values

HEX#AB7F28
RGBrgb(171, 127, 40)
HSLhsl(40, 62%, 41%)
HSVhsv(40, 77%, 67%)
CMYKcmyk(0%, 25.7%, 76.6%, 32.9%)
CIE-LABlab(56.08, 8.68, 51.10)
CIE-LCHlch(56.08, 51.83, 80.36°)
OKLaboklab(62.46% 0.0191 0.1123)
OKLCHoklch(62.46% 0.114 80.3)
XYZxyz(24.7686, 23.9918, 5.3334)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7F28 #2854AB
analogous
#AB3E28 #AB7F28 #96AB28
triadic
#AB7F28 #28AB7F #7F28AB
tetradic
#AB7F28 #28AB3E #2854AB #AB2896
square
#AB7F28 #28AB3E #2854AB #AB2896
split-complementary
#AB7F28 #2896AB #3E28AB
monochromatic
#483511 #795A1C #AB7F28 #D2A03E #DEB970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB7F28#FFFFFF#000000##000000
##AB7F281.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)
#91801A
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#BA726E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7f28;
/* rgb */ color: rgb(171, 127, 40);
/* oklch */ color: oklch(62.5% 0.114 80.3);
Tailwind
colors: {
  custom: {
    50: '#c8a368',
    500: '#ab7f28',
    950: '#000000',
  },
}
SCSS
$custom: #ab7f28;
$custom-light: #c8a368;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7f28",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 39.847,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.11389,
    "h": 80.3
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

primary
#AB7F28
secondary
#6A89C4
accent
#79E543
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #AB7F28

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

Preview Lab → · Contrast checker → · Palette generator →

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