#8B8D2A#8B8D2A

#8B8D2A is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.119 H 110.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8B8D2A
RGBrgb(139, 141, 42)
HSLhsl(61, 54%, 36%)
HSVhsv(61, 70%, 55%)
CMYKcmyk(1.4%, 0%, 70.2%, 44.7%)
CIE-LABlab(56.79, -13.45, 49.93)
CIE-LCHlch(56.79, 51.70, 105.07°)
OKLaboklab(62.29% -0.0418 0.1115)
OKLCHoklch(62.29% 0.119 110.5)
XYZxyz(20.5909, 24.7064, 5.8742)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D2A #2C2A8D
analogous
#8D5D2A #8B8D2A #598D2A
triadic
#8B8D2A #2A8B8D #8D2A8B
tetradic
#8B8D2A #2A8D5D #2C2A8D #8D2A59
square
#8B8D2A #2A8D5D #2C2A8D #8D2A59
split-complementary
#8B8D2A #2A598D #5D2A8D
monochromatic
#2E2F0E #5D5E1C #8B8D2A #B9BC38 #CED061

Accessibility & contrast

On white

3.53
#8B8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8B8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8D2A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8D2A#FFFFFF#000000##000000
##8B8D2A1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871A
Deuteranopia (green-blind)
#998A31
Tritanopia (blue-blind)
#958479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d2a;
/* rgb */ color: rgb(139, 141, 42);
/* oklch */ color: oklch(62.3% 0.119 110.5);
Tailwind
colors: {
  custom: {
    50: '#b0ae6a',
    500: '#8b8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d2a;
$custom-light: #b0ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d2a",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 61.212,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62286,
    "c": 0.11904,
    "h": 110.5
  },
  "luminance": 0.24706
}

Semantic roles & 50–950 ramp

primary
#8B8D2A
secondary
#5F5DB6
accent
#4ADD4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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