#8B973D#8B973D

#8B973D is a light, moderate yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.115 H 116.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8B973D
RGBrgb(139, 151, 61)
HSLhsl(68, 42%, 42%)
HSVhsv(68, 60%, 59%)
CMYKcmyk(7.9%, 0%, 59.6%, 40.8%)
CIE-LABlab(59.85, -17.39, 44.89)
CIE-LCHlch(59.85, 48.14, 111.17°)
OKLaboklab(64.79% -0.0508 0.1037)
OKLCHoklch(64.79% 0.115 116.1)
XYZxyz(22.5568, 27.9594, 8.6224)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B973D #493D97
analogous
#97763D #8B973D #5E973D
triadic
#8B973D #3D8B97 #973D8B
tetradic
#8B973D #3D9776 #493D97 #973D5E
square
#8B973D #3D9776 #493D97 #973D5E
split-complementary
#8B973D #3D5E97 #763D97
monochromatic
#3B401A #636B2B #8B973D #ADBB56 #C3CC82

Accessibility & contrast

On white

3.19
#8B973D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8B973D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B973D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B973D#FFFFFF#000000##000000
##8B973D1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19033
Deuteranopia (green-blind)
#A09143
Tritanopia (blue-blind)
#938F84
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b973d;
/* rgb */ color: rgb(139, 151, 61);
/* oklch */ color: oklch(64.8% 0.115 116.1);
Tailwind
colors: {
  custom: {
    50: '#afb576',
    500: '#8b973d',
    950: '#000000',
  },
}
SCSS
$custom: #8b973d;
$custom-light: #afb576;
$custom-dark: #000000;
JSON
{
  "hex": "#8b973d",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 61
  },
  "hsl": {
    "h": 68,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64789,
    "c": 0.11549,
    "h": 116.1
  },
  "luminance": 0.27959
}

Semantic roles & 50–950 ramp

primary
#8B973D
secondary
#8179B7
accent
#56D266
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8B973D

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

Preview Lab → · Contrast checker → · Palette generator →

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