#8A7416#8A7416

#8A7416 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.4% C 0.109 H 94.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A7416
RGBrgb(138, 116, 22)
HSLhsl(49, 73%, 31%)
HSVhsv(49, 84%, 54%)
CMYKcmyk(0%, 15.9%, 84.1%, 45.9%)
CIE-LABlab(49.44, -1.06, 50.25)
CIE-LCHlch(49.44, 50.26, 91.21°)
OKLaboklab(56.38% -0.0088 0.1082)
OKLCHoklch(56.38% 0.109 94.7)
XYZxyz(16.8724, 17.9530, 3.3355)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7416 #162C8A
analogous
#8A3A16 #8A7416 #668A16
triadic
#8A7416 #168A74 #74168A
tetradic
#8A7416 #168A3A #162C8A #8A1666
square
#8A7416 #168A3A #162C8A #8A1666
split-complementary
#8A7416 #16668A #3A168A
monochromatic
#201B05 #55480E #8A7416 #BFA01E #E0C03B

Accessibility & contrast

On white

4.57
#8A7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8A7416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7416
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7416#FFFFFF#000000##000000
##8A74161.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#87781D
Tritanopia (blue-blind)
#966A63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7416;
/* rgb */ color: rgb(138, 116, 22);
/* oklch */ color: oklch(56.4% 0.109 94.7);
Tailwind
colors: {
  custom: {
    50: '#b09b5d',
    500: '#8a7416',
    950: '#000000',
  },
}
SCSS
$custom: #8a7416;
$custom-light: #b09b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7416",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 48.621,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56383,
    "c": 0.10856,
    "h": 94.7
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#8A7416
secondary
#3E56BE
accent
#5BEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A7416

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

Preview Lab → · Contrast checker → · Palette generator →

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