#AB7F23#AB7F23

#AB7F23 is a light, moderate orange. Relative luminance 0.240; OKLCH L 62.4% C 0.117 H 81.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB7F23
RGBrgb(171, 127, 35)
HSLhsl(41, 66%, 40%)
HSVhsv(41, 80%, 67%)
CMYKcmyk(0%, 25.7%, 79.5%, 32.9%)
CIE-LABlab(56.05, 8.48, 53.01)
CIE-LCHlch(56.05, 53.69, 80.92°)
OKLaboklab(62.42% 0.018 0.1153)
OKLCHoklch(62.42% 0.117 81.1)
XYZxyz(24.6890, 23.9599, 4.9142)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7F23 #234FAB
analogous
#AB3B23 #AB7F23 #93AB23
triadic
#AB7F23 #23AB7F #7F23AB
tetradic
#AB7F23 #23AB3B #234FAB #AB2393
square
#AB7F23 #23AB3B #234FAB #AB2393
split-complementary
#AB7F23 #2393AB #3B23AB
monochromatic
#45340E #785919 #AB7F23 #D6A235 #E0B968

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB7F23#FFFFFF#000000##000000
##AB7F231.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)
#918012
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#BA726D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab7f23;
/* rgb */ color: rgb(171, 127, 35);
/* oklch */ color: oklch(62.4% 0.117 81.1);
Tailwind
colors: {
  custom: {
    50: '#c9a366',
    500: '#ab7f23',
    950: '#000000',
  },
}
SCSS
$custom: #ab7f23;
$custom-light: #c9a366;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7f23",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 40.588,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62422,
    "c": 0.11664,
    "h": 81.1
  },
  "luminance": 0.23958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB7F23

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

Preview Lab → · Contrast checker → · Palette generator →

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