#8B8B2B#8B8B2B

#8B8B2B is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.116 H 109.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8B8B2B
RGBrgb(139, 139, 43)
HSLhsl(60, 53%, 36%)
HSVhsv(60, 69%, 55%)
CMYKcmyk(0%, 0%, 69.1%, 45.5%)
CIE-LABlab(56.22, -12.32, 48.95)
CIE-LCHlch(56.22, 50.48, 104.13°)
OKLaboklab(61.83% -0.0385 0.1096)
OKLCHoklch(61.83% 0.116 109.4)
XYZxyz(20.3168, 24.1292, 5.8722)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8B2B #2B2B8B
analogous
#8B5B2B #8B8B2B #5B8B2B
triadic
#8B8B2B #2B8B8B #8B2B8B
tetradic
#8B8B2B #2B8B5B #2B2B8B #8B2B5B
square
#8B8B2B #2B8B5B #2B2B8B #8B2B5B
split-complementary
#8B8B2B #2B5B8B #5B2B8B
monochromatic
#2E2E0E #5C5C1D #8B8B2B #BABA39 #CECE62

Accessibility & contrast

On white

3.60
#8B8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8B8B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8B2B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8B2B#FFFFFF#000000##000000
##8B8B2B1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851D
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#958278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8b8b2b;
/* rgb */ color: rgb(139, 139, 43);
/* oklch */ color: oklch(61.8% 0.116 109.4);
Tailwind
colors: {
  custom: {
    50: '#b0ac6a',
    500: '#8b8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #8b8b2b;
$custom-light: #b0ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8b2b",
  "rgb": {
    "r": 139,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.11616,
    "h": 109.4
  },
  "luminance": 0.24129
}

Semantic roles & 50–950 ramp

primary
#8B8B2B
secondary
#5D5DB5
accent
#4CDC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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