#8D8533#8D8533

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

Color values

HEX#8D8533
RGBrgb(141, 133, 51)
HSLhsl(55, 47%, 38%)
HSVhsv(55, 64%, 55%)
CMYKcmyk(0%, 5.7%, 63.8%, 44.7%)
CIE-LABlab(54.74, -7.66, 43.97)
CIE-LCHlch(54.74, 44.63, 99.88°)
OKLaboklab(60.72% -0.0245 0.1003)
OKLCHoklch(60.72% 0.103 103.7)
XYZxyz(19.9703, 22.6775, 6.4566)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8533 #333B8D
analogous
#8D5833 #8D8533 #688D33
triadic
#8D8533 #338D85 #85338D
tetradic
#8D8533 #338D58 #333B8D #8D3368
square
#8D8533 #338D58 #333B8D #8D3368
split-complementary
#8D8533 #33688D #58338D
monochromatic
#333012 #605B23 #8D8533 #BAAF43 #CBC36F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8533#FFFFFF#000000##000000
##8D85331.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)
#908129
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#977C74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8533;
/* rgb */ color: rgb(141, 133, 51);
/* oklch */ color: oklch(60.7% 0.103 103.7);
Tailwind
colors: {
  custom: {
    50: '#b1a86f',
    500: '#8d8533',
    950: '#000000',
  },
}
SCSS
$custom: #8d8533;
$custom-light: #b1a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8533",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 51
  },
  "hsl": {
    "h": 54.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.10329,
    "h": 103.7
  },
  "luminance": 0.22677
}

Semantic roles & 50–950 ramp

primary
#8D8533
secondary
#696FB3
accent
#5DD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8533

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

Preview Lab → · Contrast checker → · Palette generator →

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