#8D8535#8D8535

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

Color values

HEX#8D8535
RGBrgb(141, 133, 53)
HSLhsl(55, 45%, 38%)
HSVhsv(55, 62%, 55%)
CMYKcmyk(0%, 5.7%, 62.4%, 44.7%)
CIE-LABlab(54.76, -7.52, 43.06)
CIE-LCHlch(54.76, 43.71, 99.90°)
OKLaboklab(60.74% -0.0239 0.0987)
OKLCHoklch(60.74% 0.102 103.6)
XYZxyz(20.0154, 22.6956, 6.6938)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8535 #353D8D
analogous
#8D5935 #8D8535 #698D35
triadic
#8D8535 #358D85 #85358D
tetradic
#8D8535 #358D59 #353D8D #8D3569
square
#8D8535 #358D59 #353D8D #8D3569
split-complementary
#8D8535 #35698D #59358D
monochromatic
#343114 #615B24 #8D8535 #B9AF46 #CAC272

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8535#FFFFFF#000000##000000
##8D85351.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)
#90812C
Deuteranopia (green-blind)
#938539
Tritanopia (blue-blind)
#977C74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8535;
/* rgb */ color: rgb(141, 133, 53);
/* oklch */ color: oklch(60.7% 0.102 103.6);
Tailwind
colors: {
  custom: {
    50: '#b1a870',
    500: '#8d8535',
    950: '#000000',
  },
}
SCSS
$custom: #8d8535;
$custom-light: #b1a870;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8535",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 54.545,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.10155,
    "h": 103.6
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#8D8535
secondary
#6B72B2
accent
#5FD553
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D8535

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

Preview Lab → · Contrast checker → · Palette generator →

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