#8D8537#8D8537

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

Color values

HEX#8D8537
RGBrgb(141, 133, 55)
HSLhsl(54, 44%, 38%)
HSVhsv(54, 61%, 55%)
CMYKcmyk(0%, 5.7%, 61%, 44.7%)
CIE-LABlab(54.78, -7.37, 42.13)
CIE-LCHlch(54.78, 42.77, 99.92°)
OKLaboklab(60.76% -0.0232 0.097)
OKLCHoklch(60.76% 0.1 103.5)
XYZxyz(20.0623, 22.7143, 6.9412)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8537 #373F8D
analogous
#8D5A37 #8D8537 #6A8D37
triadic
#8D8537 #378D85 #85378D
tetradic
#8D8537 #378D5A #373F8D #8D376A
square
#8D8537 #378D5A #373F8D #8D376A
split-complementary
#8D8537 #376A8D #5A378D
monochromatic
#353215 #615B26 #8D8537 #B8AE49 #C9C175

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8537#FFFFFF#000000##000000
##8D85371.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)
#90812F
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#977C74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8537;
/* rgb */ color: rgb(141, 133, 55);
/* oklch */ color: oklch(60.8% 0.100 103.5);
Tailwind
colors: {
  custom: {
    50: '#b1a871',
    500: '#8d8537',
    950: '#000000',
  },
}
SCSS
$custom: #8d8537;
$custom-light: #b1a871;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8537",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 55
  },
  "hsl": {
    "h": 54.419,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.09975,
    "h": 103.5
  },
  "luminance": 0.22714
}

Semantic roles & 50–950 ramp

primary
#8D8537
secondary
#6E74B2
accent
#60D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D8537

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

Preview Lab → · Contrast checker → · Palette generator →

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