#8D8536#8D8536

#8D8536 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.8% C 0.101 H 103.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8D8536
RGBrgb(141, 133, 54)
HSLhsl(54, 45%, 38%)
HSVhsv(54, 62%, 55%)
CMYKcmyk(0%, 5.7%, 61.7%, 44.7%)
CIE-LABlab(54.77, -7.44, 42.60)
CIE-LCHlch(54.77, 43.24, 99.91°)
OKLaboklab(60.75% -0.0236 0.0979)
OKLCHoklch(60.75% 0.101 103.5)
XYZxyz(20.0386, 22.7048, 6.8162)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8536 #363E8D
analogous
#8D5936 #8D8536 #698D36
triadic
#8D8536 #368D85 #85368D
tetradic
#8D8536 #368D59 #363E8D #8D3669
square
#8D8536 #368D59 #363E8D #8D3669
split-complementary
#8D8536 #36698D #59368D
monochromatic
#343214 #615B25 #8D8536 #B9AE47 #CAC274

Accessibility & contrast

On white

3.79
#8D8536 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8D8536 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8536
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8536#FFFFFF#000000##000000
##8D85361.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812D
Deuteranopia (green-blind)
#93853A
Tritanopia (blue-blind)
#977C74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8536;
/* rgb */ color: rgb(141, 133, 54);
/* oklch */ color: oklch(60.8% 0.101 103.5);
Tailwind
colors: {
  custom: {
    50: '#b1a870',
    500: '#8d8536',
    950: '#000000',
  },
}
SCSS
$custom: #8d8536;
$custom-light: #b1a870;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8536",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 54
  },
  "hsl": {
    "h": 54.483,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6075,
    "c": 0.10066,
    "h": 103.5
  },
  "luminance": 0.22704
}

Semantic roles & 50–950 ramp

primary
#8D8536
secondary
#6D73B2
accent
#5FD453
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D8536

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

Preview Lab → · Contrast checker → · Palette generator →

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