#AB7938#AB7938

#AB7938 is a mid, moderate orange. Relative luminance 0.226; OKLCH L 61.4% C 0.103 H 70.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB7938
RGBrgb(171, 121, 56)
HSLhsl(34, 51%, 45%)
HSVhsv(34, 67%, 67%)
CMYKcmyk(0%, 29.2%, 67.3%, 32.9%)
CIE-LABlab(54.68, 12.90, 42.42)
CIE-LCHlch(54.68, 44.33, 73.09°)
OKLaboklab(61.41% 0.0336 0.0969)
OKLCHoklch(61.41% 0.103 70.9)
XYZxyz(24.3474, 22.6202, 6.8244)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7938 #386AAB
analogous
#AB3F38 #AB7938 #A4AB38
triadic
#AB7938 #38AB79 #7938AB
tetradic
#AB7938 #38AB3F #386AAB #AB38A4
square
#AB7938 #38AB3F #386AAB #AB38A4
split-complementary
#AB7938 #38A4AB #3F38AB
monochromatic
#4F381A #7D5829 #AB7938 #C89758 #D7B486

Accessibility & contrast

On white

3.80
#AB7938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AB7938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7938
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7938#FFFFFF#000000##000000
##AB79381.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C31
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#BA6D6B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab7938;
/* rgb */ color: rgb(171, 121, 56);
/* oklch */ color: oklch(61.4% 0.103 70.9);
Tailwind
colors: {
  custom: {
    50: '#c89f71',
    500: '#ab7938',
    950: '#000000',
  },
}
SCSS
$custom: #ab7938;
$custom-light: #c89f71;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7938",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 33.913,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.10255,
    "h": 70.9
  },
  "luminance": 0.22618
}

Semantic roles & 50–950 ramp

primary
#AB7938
secondary
#7D9BC1
accent
#8BDA4E
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E08
muted
#827E7B

Preview Lab

Preview with #AB7938

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

Preview Lab → · Contrast checker → · Palette generator →

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