#8B8B19#8B8B19

#8B8B19 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.127 H 109.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8B8B19
RGBrgb(139, 139, 25)
HSLhsl(60, 70%, 32%)
HSVhsv(60, 82%, 55%)
CMYKcmyk(0%, 0%, 82%, 45.5%)
CIE-LABlab(56.11, -13.16, 55.18)
CIE-LCHlch(56.11, 56.73, 103.41°)
OKLaboklab(61.72% -0.0425 0.1194)
OKLCHoklch(61.72% 0.127 109.6)
XYZxyz(20.0563, 24.0250, 4.5003)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8B19 #19198B
analogous
#8B5219 #8B8B19 #528B19
triadic
#8B8B19 #198B8B #8B198B
tetradic
#8B8B19 #198B52 #19198B #8B1952
square
#8B8B19 #198B52 #19198B #8B1952
split-complementary
#8B8B19 #19528B #52198B
monochromatic
#232306 #575710 #8B8B19 #BFBF22 #DDDD41

Accessibility & contrast

On white

3.62
#8B8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8B8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8B19
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8B19#FFFFFF#000000##000000
##8B8B191.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#958276
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8b19;
/* rgb */ color: rgb(139, 139, 25);
/* oklch */ color: oklch(61.7% 0.127 109.6);
Tailwind
colors: {
  custom: {
    50: '#b0ac62',
    500: '#8b8b19',
    950: '#000000',
  },
}
SCSS
$custom: #8b8b19;
$custom-light: #b0ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8b19",
  "rgb": {
    "r": 139,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61716,
    "c": 0.12679,
    "h": 109.6
  },
  "luminance": 0.24024
}

Semantic roles & 50–950 ramp

primary
#8B8B19
secondary
#4242BE
accent
#3BEC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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