#8B8D1B#8B8D1B

#8B8D1B is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.2% C 0.128 H 110.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8B8D1B
RGBrgb(139, 141, 27)
HSLhsl(61, 68%, 33%)
HSVhsv(61, 81%, 55%)
CMYKcmyk(1.4%, 0%, 80.9%, 44.7%)
CIE-LABlab(56.70, -14.15, 55.11)
CIE-LCHlch(56.70, 56.90, 104.40°)
OKLaboklab(62.19% -0.0451 0.1197)
OKLCHoklch(62.19% 0.128 110.7)
XYZxyz(20.3709, 24.6184, 4.7155)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D1B #1D1B8D
analogous
#8D561B #8B8D1B #528D1B
triadic
#8B8D1B #1B8B8D #8D1B8B
tetradic
#8B8D1B #1B8D56 #1D1B8D #8D1B52
square
#8B8D1B #1B8D56 #1D1B8D #8D1B52
split-complementary
#8B8D1B #1B528D #561B8D
monochromatic
#262607 #585A11 #8B8D1B #BEC025 #D9DC47

Accessibility & contrast

On white

3.55
#8B8D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8B8D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8D1B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8D1B#FFFFFF#000000##000000
##8B8D1B1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9A8926
Tritanopia (blue-blind)
#958478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d1b;
/* rgb */ color: rgb(139, 141, 27);
/* oklch */ color: oklch(62.2% 0.128 110.7);
Tailwind
colors: {
  custom: {
    50: '#b0ae63',
    500: '#8b8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d1b;
$custom-light: #b0ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d1b",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 61.053,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62189,
    "c": 0.1279,
    "h": 110.7
  },
  "luminance": 0.24618
}

Semantic roles & 50–950 ramp

primary
#8B8D1B
secondary
#4946BD
accent
#3DEB40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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