#8B8916#8B8916

#8B8916 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.126 H 108.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8B8916
RGBrgb(139, 137, 22)
HSLhsl(59, 73%, 32%)
HSVhsv(59, 84%, 55%)
CMYKcmyk(0%, 1.4%, 84.2%, 45.5%)
CIE-LABlab(55.52, -12.19, 55.51)
CIE-LCHlch(55.52, 56.83, 102.38°)
OKLaboklab(61.24% -0.0401 0.1196)
OKLCHoklch(61.24% 0.126 108.5)
XYZxyz(19.7387, 23.4389, 4.2433)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8916 #16188B
analogous
#8B4F16 #8B8916 #538B16
triadic
#8B8916 #168B89 #89168B
tetradic
#8B8916 #168B4F #16188B #8B1653
square
#8B8916 #168B4F #16188B #8B1653
split-complementary
#8B8916 #16538B #4F168B
monochromatic
#212105 #56550E #8B8916 #C0BD1E #E0DD3B

Accessibility & contrast

On white

3.69
#8B8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8B8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8916
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8916#FFFFFF#000000##000000
##8B89161.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#967F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b8916;
/* rgb */ color: rgb(139, 137, 22);
/* oklch */ color: oklch(61.2% 0.126 108.5);
Tailwind
colors: {
  custom: {
    50: '#b1ab60',
    500: '#8b8916',
    950: '#000000',
  },
}
SCSS
$custom: #8b8916;
$custom-light: #b1ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8916",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 58.974,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61239,
    "c": 0.12611,
    "h": 108.5
  },
  "luminance": 0.23438
}

Semantic roles & 50–950 ramp

primary
#8B8916
secondary
#3E40BF
accent
#3CEF38
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8B8916

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

Preview Lab → · Contrast checker → · Palette generator →

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