#8D973D#8D973D

#8D973D is a light, moderate yellow. Relative luminance 0.281; OKLCH L 65.0% C 0.115 H 115.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8D973D
RGBrgb(141, 151, 61)
HSLhsl(67, 42%, 42%)
HSVhsv(67, 60%, 59%)
CMYKcmyk(6.6%, 0%, 59.6%, 40.8%)
CIE-LABlab(60.01, -16.53, 45.11)
CIE-LCHlch(60.01, 48.04, 110.12°)
OKLaboklab(64.95% -0.0485 0.1042)
OKLCHoklch(64.95% 0.115 115)
XYZxyz(22.8939, 28.1332, 8.6382)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D973D #473D97
analogous
#97743D #8D973D #60973D
triadic
#8D973D #3D8D97 #973D8D
tetradic
#8D973D #3D9774 #473D97 #973D60
square
#8D973D #3D9774 #473D97 #973D60
split-complementary
#8D973D #3D6097 #743D97
monochromatic
#3C401A #646B2B #8D973D #B0BB56 #C4CC82

Accessibility & contrast

On white

3.17
#8D973D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8D973D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D973D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D973D#FFFFFF#000000##000000
##8D973D1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d973d;
/* rgb */ color: rgb(141, 151, 61);
/* oklch */ color: oklch(65.0% 0.115 115.0);
Tailwind
colors: {
  custom: {
    50: '#b0b576',
    500: '#8d973d',
    950: '#000000',
  },
}
SCSS
$custom: #8d973d;
$custom-light: #b0b576;
$custom-dark: #000000;
JSON
{
  "hex": "#8d973d",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 61
  },
  "hsl": {
    "h": 66.667,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64954,
    "c": 0.11489,
    "h": 115
  },
  "luminance": 0.28133
}

Semantic roles & 50–950 ramp

primary
#8D973D
secondary
#8079B7
accent
#56D263
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8D973D

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

Preview Lab → · Contrast checker → · Palette generator →

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