#8B8019#8B8019

#8B8019 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.116 H 102.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8B8019
RGBrgb(139, 128, 25)
HSLhsl(54, 70%, 32%)
HSVhsv(54, 82%, 55%)
CMYKcmyk(0%, 7.9%, 82%, 45.5%)
CIE-LABlab(52.95, -7.20, 52.41)
CIE-LCHlch(52.95, 52.90, 97.82°)
OKLaboklab(59.19% -0.0259 0.1135)
OKLCHoklch(59.19% 0.116 102.9)
XYZxyz(18.5430, 20.9983, 3.9959)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8019 #19248B
analogous
#8B4719 #8B8019 #5D8B19
triadic
#8B8019 #198B80 #80198B
tetradic
#8B8019 #198B47 #19248B #8B195D
square
#8B8019 #198B47 #19248B #8B195D
split-complementary
#8B8019 #195D8B #47198B
monochromatic
#232006 #575010 #8B8019 #BFB022 #DDCE41

Accessibility & contrast

On white

4.04
#8B8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8B8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8019
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8019#FFFFFF#000000##000000
##8B80191.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b8019;
/* rgb */ color: rgb(139, 128, 25);
/* oklch */ color: oklch(59.2% 0.116 102.9);
Tailwind
colors: {
  custom: {
    50: '#b1a460',
    500: '#8b8019',
    950: '#000000',
  },
}
SCSS
$custom: #8b8019;
$custom-light: #b1a460;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8019",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 54.211,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59192,
    "c": 0.11639,
    "h": 102.9
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#8B8019
secondary
#424EBE
accent
#4DEC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B8019

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

Preview Lab → · Contrast checker → · Palette generator →

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