#8A7316#8A7316

#8A7316 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.2% C 0.108 H 93.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A7316
RGBrgb(138, 115, 22)
HSLhsl(48, 73%, 31%)
HSVhsv(48, 84%, 54%)
CMYKcmyk(0%, 16.7%, 84.1%, 45.9%)
CIE-LABlab(49.16, -0.49, 50.00)
CIE-LCHlch(49.16, 50.01, 90.56°)
OKLaboklab(56.16% -0.0072 0.1077)
OKLCHoklch(56.16% 0.108 93.8)
XYZxyz(16.7578, 17.7237, 3.2973)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7316 #162D8A
analogous
#8A3916 #8A7316 #678A16
triadic
#8A7316 #168A73 #73168A
tetradic
#8A7316 #168A39 #162D8A #8A1667
square
#8A7316 #168A39 #162D8A #8A1667
split-complementary
#8A7316 #16678A #39168A
monochromatic
#201B05 #55470E #8A7316 #BF9F1E #E0BF3B

Accessibility & contrast

On white

4.62
#8A7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8A7316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7316
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7316#FFFFFF#000000##FFFFFF
##8A73161.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#86781D
Tritanopia (blue-blind)
#966962
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7316;
/* rgb */ color: rgb(138, 115, 22);
/* oklch */ color: oklch(56.2% 0.108 93.8);
Tailwind
colors: {
  custom: {
    50: '#b09a5d',
    500: '#8a7316',
    950: '#000000',
  },
}
SCSS
$custom: #8a7316;
$custom-light: #b09a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7316",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 48.103,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.10791,
    "h": 93.8
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#8A7316
secondary
#3E57BE
accent
#5DEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A7316

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

Preview Lab → · Contrast checker → · Palette generator →

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