#8B8716#8B8716

#8B8716 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.124 H 107.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8B8716
RGBrgb(139, 135, 22)
HSLhsl(58, 73%, 32%)
HSVhsv(58, 84%, 55%)
CMYKcmyk(0%, 2.9%, 84.2%, 45.5%)
CIE-LABlab(54.94, -11.11, 55.01)
CIE-LCHlch(54.94, 56.12, 101.42°)
OKLaboklab(60.78% -0.0371 0.1185)
OKLCHoklch(60.78% 0.124 107.4)
XYZxyz(19.4571, 22.8755, 4.1494)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8716 #161A8B
analogous
#8B4D16 #8B8716 #558B16
triadic
#8B8716 #168B87 #87168B
tetradic
#8B8716 #168B4D #161A8B #8B1655
square
#8B8716 #168B4D #161A8B #8B1655
split-complementary
#8B8716 #16558B #4D168B
monochromatic
#212005 #56540E #8B8716 #C0BA1E #E0DA3B

Accessibility & contrast

On white

3.77
#8B8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8B8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8716
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8716#FFFFFF#000000##000000
##8B87161.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#967D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b8716;
/* rgb */ color: rgb(139, 135, 22);
/* oklch */ color: oklch(60.8% 0.124 107.4);
Tailwind
colors: {
  custom: {
    50: '#b1a960',
    500: '#8b8716',
    950: '#000000',
  },
}
SCSS
$custom: #8b8716;
$custom-light: #b1a960;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8716",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 57.949,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60778,
    "c": 0.12417,
    "h": 107.4
  },
  "luminance": 0.22875
}

Semantic roles & 50–950 ramp

primary
#8B8716
secondary
#3E42BF
accent
#3FEF38
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B8716

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

Preview Lab → · Contrast checker → · Palette generator →

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