#8B8B1D#8B8B1D

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

Color values

HEX#8B8B1D
RGBrgb(139, 139, 29)
HSLhsl(60, 65%, 33%)
HSVhsv(60, 79%, 55%)
CMYKcmyk(0%, 0%, 79.1%, 45.5%)
CIE-LABlab(56.13, -13.01, 53.99)
CIE-LCHlch(56.13, 55.53, 103.55°)
OKLaboklab(61.74% -0.0418 0.1176)
OKLCHoklch(61.74% 0.125 109.6)
XYZxyz(20.1026, 24.0435, 4.7441)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8B1D #1D1D8B
analogous
#8B541D #8B8B1D #548B1D
triadic
#8B8B1D #1D8B8B #8B1D8B
tetradic
#8B8B1D #1D8B54 #1D1D8B #8B1D54
square
#8B8B1D #1D8B54 #1D1D8B #8B1D54
split-complementary
#8B8B1D #1D548B #541D8B
monochromatic
#262608 #585812 #8B8B1D #BEBE28 #D9D949

Accessibility & contrast

On white

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

On black

5.81
#8B8B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8B1D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8B1D#FFFFFF#000000##000000
##8B8B1D1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#958277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8b8b1d;
/* rgb */ color: rgb(139, 139, 29);
/* oklch */ color: oklch(61.7% 0.125 109.6);
Tailwind
colors: {
  custom: {
    50: '#b0ac63',
    500: '#8b8b1d',
    950: '#000000',
  },
}
SCSS
$custom: #8b8b1d;
$custom-light: #b0ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8b1d",
  "rgb": {
    "r": 139,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.12485,
    "h": 109.6
  },
  "luminance": 0.24043
}

Semantic roles & 50–950 ramp

primary
#8B8B1D
secondary
#4949BB
accent
#3FE83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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