#8D8937#8D8937

#8D8937 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.104 H 106.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8D8937
RGBrgb(141, 137, 55)
HSLhsl(57, 44%, 38%)
HSVhsv(57, 61%, 55%)
CMYKcmyk(0%, 2.8%, 61%, 44.7%)
CIE-LABlab(55.92, -9.55, 43.39)
CIE-LCHlch(55.92, 44.43, 102.41°)
OKLaboklab(61.67% -0.0294 0.0997)
OKLCHoklch(61.67% 0.104 106.5)
XYZxyz(20.6204, 23.8305, 7.1272)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8937 #373B8D
analogous
#8D5E37 #8D8937 #668D37
triadic
#8D8937 #378D89 #89378D
tetradic
#8D8937 #378D5E #373B8D #8D3766
square
#8D8937 #378D5E #373B8D #8D3766
split-complementary
#8D8937 #37668D #5E378D
monochromatic
#353315 #615E26 #8D8937 #B8B349 #C9C575

Accessibility & contrast

On white

3.64
#8D8937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8D8937 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8937
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8937#FFFFFF#000000##000000
##8D89371.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842E
Deuteranopia (green-blind)
#96883C
Tritanopia (blue-blind)
#978077
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8937;
/* rgb */ color: rgb(141, 137, 55);
/* oklch */ color: oklch(61.7% 0.104 106.5);
Tailwind
colors: {
  custom: {
    50: '#b1ab71',
    500: '#8d8937',
    950: '#000000',
  },
}
SCSS
$custom: #8d8937;
$custom-light: #b1ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8937",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 55
  },
  "hsl": {
    "h": 57.209,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.10395,
    "h": 106.5
  },
  "luminance": 0.2383
}

Semantic roles & 50–950 ramp

primary
#8D8937
secondary
#6E71B2
accent
#5AD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D8937

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

Preview Lab → · Contrast checker → · Palette generator →

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