#8B8B2E#8B8B2E

#8B8B2E is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.114 H 109.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8B8B2E
RGBrgb(139, 139, 46)
HSLhsl(60, 50%, 36%)
HSVhsv(60, 67%, 55%)
CMYKcmyk(0%, 0%, 66.9%, 45.5%)
CIE-LABlab(56.24, -12.14, 47.72)
CIE-LCHlch(56.24, 49.24, 104.27°)
OKLaboklab(61.86% -0.0377 0.1075)
OKLCHoklch(61.86% 0.114 109.3)
XYZxyz(20.3739, 24.1520, 6.1728)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8B2E #2E2E8B
analogous
#8B5D2E #8B8B2E #5D8B2E
triadic
#8B8B2E #2E8B8B #8B2E8B
tetradic
#8B8B2E #2E8B5D #2E2E8B #8B2E5D
square
#8B8B2E #2E8B5D #2E2E8B #8B2E5D
split-complementary
#8B8B2E #2E5D8B #5D2E8B
monochromatic
#2F2F10 #5D5D1F #8B8B2E #B9B93D #CDCD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8B2E#FFFFFF#000000##000000
##8B8B2E1.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)
#968521
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#958278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8b8b2e;
/* rgb */ color: rgb(139, 139, 46);
/* oklch */ color: oklch(61.9% 0.114 109.3);
Tailwind
colors: {
  custom: {
    50: '#b0ac6c',
    500: '#8b8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #8b8b2e;
$custom-light: #b0ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8b2e",
  "rgb": {
    "r": 139,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.11392,
    "h": 109.3
  },
  "luminance": 0.24151
}

Semantic roles & 50–950 ramp

primary
#8B8B2E
secondary
#6161B3
accent
#4EDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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