#8A7116#8A7116

#8A7116 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.107 H 92.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8A7116
RGBrgb(138, 113, 22)
HSLhsl(47, 73%, 31%)
HSVhsv(47, 84%, 54%)
CMYKcmyk(0%, 18.1%, 84.1%, 45.9%)
CIE-LABlab(48.60, 0.65, 49.52)
CIE-LCHlch(48.60, 49.52, 89.25°)
OKLaboklab(55.72% -0.004 0.1066)
OKLCHoklch(55.72% 0.107 92.1)
XYZxyz(16.5322, 17.2725, 3.2221)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7116 #162F8A
analogous
#8A3716 #8A7116 #698A16
triadic
#8A7116 #168A71 #71168A
tetradic
#8A7116 #168A37 #162F8A #8A1669
square
#8A7116 #168A37 #162F8A #8A1669
split-complementary
#8A7116 #16698A #37168A
monochromatic
#201B05 #55460E #8A7116 #BF9C1E #E0BC3B

Accessibility & contrast

On white

4.71
#8A7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8A7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7116
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7116#FFFFFF#000000##FFFFFF
##8A71161.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#85761C
Tritanopia (blue-blind)
#966760
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a7116;
/* rgb */ color: rgb(138, 113, 22);
/* oklch */ color: oklch(55.7% 0.107 92.1);
Tailwind
colors: {
  custom: {
    50: '#b0995d',
    500: '#8a7116',
    950: '#000000',
  },
}
SCSS
$custom: #8a7116;
$custom-light: #b0995d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7116",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 47.069,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55721,
    "c": 0.10669,
    "h": 92.1
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#8A7116
secondary
#3E5ABE
accent
#60EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A7116

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

Preview Lab → · Contrast checker → · Palette generator →

#8A7116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva