#AB7C28#AB7C28

#AB7C28 is a mid, moderate orange. Relative luminance 0.232; OKLCH L 61.9% C 0.113 H 77.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB7C28
RGBrgb(171, 124, 40)
HSLhsl(38, 62%, 41%)
HSVhsv(38, 77%, 67%)
CMYKcmyk(0%, 27.5%, 76.6%, 32.9%)
CIE-LABlab(55.31, 10.36, 50.35)
CIE-LCHlch(55.31, 51.41, 78.37°)
OKLaboklab(61.85% 0.024 0.1107)
OKLCHoklch(61.85% 0.113 77.8)
XYZxyz(24.3869, 23.2284, 5.2062)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7C28 #2857AB
analogous
#AB3B28 #AB7C28 #99AB28
triadic
#AB7C28 #28AB7C #7C28AB
tetradic
#AB7C28 #28AB3B #2857AB #AB2899
square
#AB7C28 #28AB3B #2857AB #AB2899
split-complementary
#AB7C28 #2899AB #3B28AB
monochromatic
#483411 #79581C #AB7C28 #D29D3E #DEB670

Accessibility & contrast

On white

3.72
#AB7C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AB7C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7C28
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7C28#FFFFFF#000000##000000
##AB7C281.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#BA6F6B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab7c28;
/* rgb */ color: rgb(171, 124, 40);
/* oklch */ color: oklch(61.9% 0.113 77.8);
Tailwind
colors: {
  custom: {
    50: '#c9a168',
    500: '#ab7c28',
    950: '#000000',
  },
}
SCSS
$custom: #ab7c28;
$custom-light: #c9a168;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7c28",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 38.473,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.11325,
    "h": 77.8
  },
  "luminance": 0.23226
}

Semantic roles & 50–950 ramp

primary
#AB7C28
secondary
#6A8BC4
accent
#7DE543
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140F06
muted
#827E7A

Preview Lab

Preview with #AB7C28

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

Preview Lab → · Contrast checker → · Palette generator →

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