#8A7016#8A7016

#8A7016 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.106 H 91.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A7016
RGBrgb(138, 112, 22)
HSLhsl(47, 73%, 31%)
HSVhsv(47, 84%, 54%)
CMYKcmyk(0%, 18.8%, 84.1%, 45.9%)
CIE-LABlab(48.32, 1.22, 49.28)
CIE-LCHlch(48.32, 49.29, 88.58°)
OKLaboklab(55.5% -0.0023 0.1061)
OKLCHoklch(55.5% 0.106 91.3)
XYZxyz(16.4212, 17.0506, 3.1851)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7016 #16308A
analogous
#8A3616 #8A7016 #6A8A16
triadic
#8A7016 #168A70 #70168A
tetradic
#8A7016 #168A36 #16308A #8A166A
square
#8A7016 #168A36 #16308A #8A166A
split-complementary
#8A7016 #166A8A #36168A
monochromatic
#201A05 #55450E #8A7016 #BF9B1E #E0BB3B

Accessibility & contrast

On white

4.76
#8A7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8A7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7016
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7016#FFFFFF#000000##FFFFFF
##8A70161.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#84761C
Tritanopia (blue-blind)
#96665F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a7016;
/* rgb */ color: rgb(138, 112, 22);
/* oklch */ color: oklch(55.5% 0.106 91.3);
Tailwind
colors: {
  custom: {
    50: '#b0985d',
    500: '#8a7016',
    950: '#000000',
  },
}
SCSS
$custom: #8a7016;
$custom-light: #b0985d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7016",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 46.552,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.10613,
    "h": 91.3
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#8A7016
secondary
#3E5BBE
accent
#62EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A7016

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

Preview Lab → · Contrast checker → · Palette generator →

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