#AB8938#AB8938

#AB8938 is a light, moderate orange. Relative luminance 0.268; OKLCH L 64.7% C 0.107 H 86.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB8938
RGBrgb(171, 137, 56)
HSLhsl(42, 51%, 45%)
HSVhsv(42, 67%, 67%)
CMYKcmyk(0%, 19.9%, 67.3%, 32.9%)
CIE-LABlab(58.82, 3.95, 46.92)
CIE-LCHlch(58.82, 47.09, 85.19°)
OKLaboklab(64.65% 0.0075 0.1065)
OKLCHoklch(64.65% 0.107 86)
XYZxyz(26.4555, 26.8364, 7.5271)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8938 #385AAB
analogous
#AB5038 #AB8938 #94AB38
triadic
#AB8938 #38AB89 #8938AB
tetradic
#AB8938 #38AB50 #385AAB #AB3894
square
#AB8938 #38AB50 #385AAB #AB3894
split-complementary
#AB8938 #3894AB #5038AB
monochromatic
#4F3F1A #7D6429 #AB8938 #C8A758 #D7BF86

Accessibility & contrast

On white

3.30
#AB8938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AB8938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8938
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8938#FFFFFF#000000##000000
##AB89381.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99882F
Deuteranopia (green-blind)
#A1913B
Tritanopia (blue-blind)
#B97D78
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab8938;
/* rgb */ color: rgb(171, 137, 56);
/* oklch */ color: oklch(64.7% 0.107 86.0);
Tailwind
colors: {
  custom: {
    50: '#c7ab72',
    500: '#ab8938',
    950: '#000000',
  },
}
SCSS
$custom: #ab8938;
$custom-light: #c7ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8938",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 56
  },
  "hsl": {
    "h": 42.261,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.64651,
    "c": 0.10674,
    "h": 86
  },
  "luminance": 0.26835
}

Semantic roles & 50–950 ramp

primary
#AB8938
secondary
#7D92C1
accent
#77DA4E
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AB8938

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

Preview Lab → · Contrast checker → · Palette generator →

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