#8D973B#8D973B

#8D973B is a light, moderate yellow. Relative luminance 0.281; OKLCH L 64.9% C 0.117 H 114.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8D973B
RGBrgb(141, 151, 59)
HSLhsl(67, 44%, 41%)
HSVhsv(67, 61%, 59%)
CMYKcmyk(6.6%, 0%, 60.9%, 40.8%)
CIE-LABlab(59.99, -16.68, 46.01)
CIE-LCHlch(59.99, 48.94, 109.93°)
OKLaboklab(64.93% -0.0492 0.1058)
OKLCHoklch(64.93% 0.117 114.9)
XYZxyz(22.8410, 28.1121, 8.3597)
Luminance0.2811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D973B #453B97
analogous
#97733B #8D973B #5F973B
triadic
#8D973B #3B8D97 #973B8D
tetradic
#8D973B #3B9773 #453B97 #973B5F
square
#8D973B #3B9773 #453B97 #973B5F
split-complementary
#8D973B #3B5F97 #733B97
monochromatic
#3B3F19 #646B2A #8D973B #B1BC53 #C5CD7F

Accessibility & contrast

On white

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

On black

6.62
#8D973B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D973B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D973B#FFFFFF#000000##000000
##8D973B1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19030
Deuteranopia (green-blind)
#A19141
Tritanopia (blue-blind)
#968F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d973b;
/* rgb */ color: rgb(141, 151, 59);
/* oklch */ color: oklch(64.9% 0.117 114.9);
Tailwind
colors: {
  custom: {
    50: '#b1b575',
    500: '#8d973b',
    950: '#000000',
  },
}
SCSS
$custom: #8d973b;
$custom-light: #b1b575;
$custom-dark: #000000;
JSON
{
  "hex": "#8d973b",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 59
  },
  "hsl": {
    "h": 66.522,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64932,
    "c": 0.11666,
    "h": 114.9
  },
  "luminance": 0.28112
}

Semantic roles & 50–950 ramp

primary
#8D973B
secondary
#7E77B7
accent
#54D462
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8D973B

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

Preview Lab → · Contrast checker → · Palette generator →

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