#8B8819#8B8819

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

Color values

HEX#8B8819
RGBrgb(139, 136, 25)
HSLhsl(58, 70%, 32%)
HSVhsv(58, 82%, 55%)
CMYKcmyk(0%, 2.2%, 82%, 45.5%)
CIE-LABlab(55.25, -11.55, 54.43)
CIE-LCHlch(55.25, 55.64, 101.98°)
OKLaboklab(61.02% -0.0381 0.1178)
OKLCHoklch(61.02% 0.124 107.9)
XYZxyz(19.6279, 23.1682, 4.3575)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8819 #191C8B
analogous
#8B4F19 #8B8819 #558B19
triadic
#8B8819 #198B88 #88198B
tetradic
#8B8819 #198B4F #191C8B #8B1955
square
#8B8819 #198B4F #191C8B #8B1955
split-complementary
#8B8819 #19558B #4F198B
monochromatic
#232206 #575510 #8B8819 #BFBB22 #DDD941

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8819#FFFFFF#000000##000000
##8B88191.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)
#968623
Tritanopia (blue-blind)
#967E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8819;
/* rgb */ color: rgb(139, 136, 25);
/* oklch */ color: oklch(61.0% 0.124 107.9);
Tailwind
colors: {
  custom: {
    50: '#b1aa61',
    500: '#8b8819',
    950: '#000000',
  },
}
SCSS
$custom: #8b8819;
$custom-light: #b1aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8819",
  "rgb": {
    "r": 139,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 58.421,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61023,
    "c": 0.12381,
    "h": 107.9
  },
  "luminance": 0.23167
}

Semantic roles & 50–950 ramp

primary
#8B8819
secondary
#4245BE
accent
#40EC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8B8819

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

Preview Lab → · Contrast checker → · Palette generator →

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