#8B8516#8B8516

#8B8516 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.122 H 106.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8B8516
RGBrgb(139, 133, 22)
HSLhsl(57, 73%, 32%)
HSVhsv(57, 84%, 55%)
CMYKcmyk(0%, 4.3%, 84.2%, 45.5%)
CIE-LABlab(54.37, -10.03, 54.52)
CIE-LCHlch(54.37, 55.44, 100.43°)
OKLaboklab(60.32% -0.0341 0.1174)
OKLCHoklch(60.32% 0.122 106.2)
XYZxyz(19.1807, 22.3227, 4.0573)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8516 #161C8B
analogous
#8B4B16 #8B8516 #578B16
triadic
#8B8516 #168B85 #85168B
tetradic
#8B8516 #168B4B #161C8B #8B1657
square
#8B8516 #168B4B #161C8B #8B1657
split-complementary
#8B8516 #16578B #4B168B
monochromatic
#212005 #56520E #8B8516 #C0B81E #E0D83B

Accessibility & contrast

On white

3.84
#8B8516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8B8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8516
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8516#FFFFFF#000000##000000
##8B85161.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#948420
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8516;
/* rgb */ color: rgb(139, 133, 22);
/* oklch */ color: oklch(60.3% 0.122 106.2);
Tailwind
colors: {
  custom: {
    50: '#b1a860',
    500: '#8b8516',
    950: '#000000',
  },
}
SCSS
$custom: #8b8516;
$custom-light: #b1a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8516",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 56.923,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60319,
    "c": 0.12228,
    "h": 106.2
  },
  "luminance": 0.22322
}

Semantic roles & 50–950 ramp

primary
#8B8516
secondary
#3E45BF
accent
#42EF38
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8B8516

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

Preview Lab → · Contrast checker → · Palette generator →

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