#8B8816#8B8816

#8B8816 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 61.0% C 0.125 H 108.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8B8816
RGBrgb(139, 136, 22)
HSLhsl(58, 73%, 32%)
HSVhsv(58, 84%, 55%)
CMYKcmyk(0%, 2.2%, 84.2%, 45.5%)
CIE-LABlab(55.23, -11.65, 55.26)
CIE-LCHlch(55.23, 56.47, 101.91°)
OKLaboklab(61.01% -0.0386 0.119)
OKLCHoklch(61.01% 0.125 108)
XYZxyz(19.5973, 23.1559, 4.1961)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8816 #16198B
analogous
#8B4E16 #8B8816 #548B16
triadic
#8B8816 #168B88 #88168B
tetradic
#8B8816 #168B4E #16198B #8B1654
square
#8B8816 #168B4E #16198B #8B1654
split-complementary
#8B8816 #16548B #4E168B
monochromatic
#212105 #56540E #8B8816 #C0BC1E #E0DC3B

Accessibility & contrast

On white

3.73
#8B8816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8B8816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8816
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8816#FFFFFF#000000##000000
##8B88161.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#967E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8816;
/* rgb */ color: rgb(139, 136, 22);
/* oklch */ color: oklch(61.0% 0.125 108.0);
Tailwind
colors: {
  custom: {
    50: '#b1aa60',
    500: '#8b8816',
    950: '#000000',
  },
}
SCSS
$custom: #8b8816;
$custom-light: #b1aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8816",
  "rgb": {
    "r": 139,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 58.462,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.12514,
    "h": 108
  },
  "luminance": 0.23155
}

Semantic roles & 50–950 ramp

primary
#8B8816
secondary
#3E41BF
accent
#3DEF38
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8B8816

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

Preview Lab → · Contrast checker → · Palette generator →

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