#8A7616#8A7616

#8A7616 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.8% C 0.110 H 96.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A7616
RGBrgb(138, 118, 22)
HSLhsl(50, 73%, 31%)
HSVhsv(50, 84%, 54%)
CMYKcmyk(0%, 14.5%, 84.1%, 45.9%)
CIE-LABlab(50.00, -2.19, 50.73)
CIE-LCHlch(50.00, 50.78, 92.47°)
OKLaboklab(56.83% -0.012 0.1093)
OKLCHoklch(56.83% 0.11 96.3)
XYZxyz(17.1054, 18.4190, 3.4132)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7616 #162A8A
analogous
#8A3C16 #8A7616 #648A16
triadic
#8A7616 #168A76 #76168A
tetradic
#8A7616 #168A3C #162A8A #8A1664
square
#8A7616 #168A3C #162A8A #8A1664
split-complementary
#8A7616 #16648A #3C168A
monochromatic
#201C05 #55490E #8A7616 #BFA31E #E0C33B

Accessibility & contrast

On white

4.48
#8A7616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A7616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7616
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7616#FFFFFF#000000##000000
##8A76161.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#887A1D
Tritanopia (blue-blind)
#966C65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a7616;
/* rgb */ color: rgb(138, 118, 22);
/* oklch */ color: oklch(56.8% 0.110 96.3);
Tailwind
colors: {
  custom: {
    50: '#b09d5e',
    500: '#8a7616',
    950: '#000000',
  },
}
SCSS
$custom: #8a7616;
$custom-light: #b09d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7616",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 49.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56827,
    "c": 0.10992,
    "h": 96.3
  },
  "luminance": 0.18418
}

Semantic roles & 50–950 ramp

primary
#8A7616
secondary
#3E54BE
accent
#58EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A7616

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

Preview Lab → · Contrast checker → · Palette generator →

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