#8B8B2D#8B8B2D

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

Color values

HEX#8B8B2D
RGBrgb(139, 139, 45)
HSLhsl(60, 51%, 36%)
HSVhsv(60, 68%, 55%)
CMYKcmyk(0%, 0%, 67.6%, 45.5%)
CIE-LABlab(56.23, -12.20, 48.13)
CIE-LCHlch(56.23, 49.66, 104.23°)
OKLaboklab(61.85% -0.038 0.1082)
OKLCHoklch(61.85% 0.115 109.3)
XYZxyz(20.3544, 24.1442, 6.0702)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8B2D #2D2D8B
analogous
#8B5C2D #8B8B2D #5C8B2D
triadic
#8B8B2D #2D8B8B #8B2D8B
tetradic
#8B8B2D #2D8B5C #2D2D8B #8B2D5C
square
#8B8B2D #2D8B5C #2D2D8B #8B2D5C
split-complementary
#8B8B2D #2D5C8B #5C2D8B
monochromatic
#2F2F0F #5D5D1E #8B8B2D #B9B93C #CDCD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8B2D#FFFFFF#000000##000000
##8B8B2D1.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)
#968520
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#958278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8b8b2d;
/* rgb */ color: rgb(139, 139, 45);
/* oklch */ color: oklch(61.8% 0.115 109.3);
Tailwind
colors: {
  custom: {
    50: '#b0ac6c',
    500: '#8b8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #8b8b2d;
$custom-light: #b0ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8b2d",
  "rgb": {
    "r": 139,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61849,
    "c": 0.11468,
    "h": 109.3
  },
  "luminance": 0.24144
}

Semantic roles & 50–950 ramp

primary
#8B8B2D
secondary
#6060B4
accent
#4DDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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