#8B8616#8B8616

#8B8616 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.5% C 0.123 H 106.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8B8616
RGBrgb(139, 134, 22)
HSLhsl(57, 73%, 32%)
HSVhsv(57, 84%, 55%)
CMYKcmyk(0%, 3.6%, 84.2%, 45.5%)
CIE-LABlab(54.66, -10.57, 54.77)
CIE-LCHlch(54.66, 55.78, 100.93°)
OKLaboklab(60.55% -0.0356 0.118)
OKLCHoklch(60.55% 0.123 106.8)
XYZxyz(19.3182, 22.5978, 4.1031)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8616 #161B8B
analogous
#8B4C16 #8B8616 #568B16
triadic
#8B8616 #168B86 #86168B
tetradic
#8B8616 #168B4C #161B8B #8B1656
square
#8B8616 #168B4C #161B8B #8B1656
split-complementary
#8B8616 #16568B #4C168B
monochromatic
#212005 #56530E #8B8616 #C0B91E #E0D93B

Accessibility & contrast

On white

3.80
#8B8616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8B8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8616
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8616#FFFFFF#000000##000000
##8B86161.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#948521
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b8616;
/* rgb */ color: rgb(139, 134, 22);
/* oklch */ color: oklch(60.5% 0.123 106.8);
Tailwind
colors: {
  custom: {
    50: '#b1a860',
    500: '#8b8616',
    950: '#000000',
  },
}
SCSS
$custom: #8b8616;
$custom-light: #b1a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8616",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 57.436,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60548,
    "c": 0.12322,
    "h": 106.8
  },
  "luminance": 0.22597
}

Semantic roles & 50–950 ramp

primary
#8B8616
secondary
#3E44BF
accent
#40EF38
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B8616

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

Preview Lab → · Contrast checker → · Palette generator →

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