#8A7516#8A7516

#8A7516 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.6% C 0.109 H 95.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A7516
RGBrgb(138, 117, 22)
HSLhsl(49, 73%, 31%)
HSVhsv(49, 84%, 54%)
CMYKcmyk(0%, 15.2%, 84.1%, 45.9%)
CIE-LABlab(49.72, -1.63, 50.49)
CIE-LCHlch(49.72, 50.52, 91.84°)
OKLaboklab(56.6% -0.0104 0.1087)
OKLCHoklch(56.6% 0.109 95.5)
XYZxyz(16.9883, 18.1848, 3.3741)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7516 #162B8A
analogous
#8A3B16 #8A7516 #658A16
triadic
#8A7516 #168A75 #75168A
tetradic
#8A7516 #168A3B #162B8A #8A1665
square
#8A7516 #168A3B #162B8A #8A1665
split-complementary
#8A7516 #16658A #3B168A
monochromatic
#201B05 #55480E #8A7516 #BFA21E #E0C23B

Accessibility & contrast

On white

4.53
#8A7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A7516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7516
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7516#FFFFFF#000000##000000
##8A75161.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#88791D
Tritanopia (blue-blind)
#966B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7516;
/* rgb */ color: rgb(138, 117, 22);
/* oklch */ color: oklch(56.6% 0.109 95.5);
Tailwind
colors: {
  custom: {
    50: '#b09c5d',
    500: '#8a7516',
    950: '#000000',
  },
}
SCSS
$custom: #8a7516;
$custom-light: #b09c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7516",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 49.138,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.10923,
    "h": 95.5
  },
  "luminance": 0.18184
}

Semantic roles & 50–950 ramp

primary
#8A7516
secondary
#3E55BE
accent
#5AEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A7516

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

Preview Lab → · Contrast checker → · Palette generator →

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