#8D8538#8D8538

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

Color values

HEX#8D8538
RGBrgb(141, 133, 56)
HSLhsl(54, 43%, 39%)
HSVhsv(54, 60%, 55%)
CMYKcmyk(0%, 5.7%, 60.3%, 44.7%)
CIE-LABlab(54.79, -7.29, 41.66)
CIE-LCHlch(54.79, 42.30, 99.93°)
OKLaboklab(60.77% -0.0229 0.0961)
OKLCHoklch(60.77% 0.099 103.4)
XYZxyz(20.0865, 22.7240, 7.0687)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8538 #38408D
analogous
#8D5A38 #8D8538 #6A8D38
triadic
#8D8538 #388D85 #85388D
tetradic
#8D8538 #388D5A #38408D #8D386A
square
#8D8538 #388D5A #38408D #8D386A
split-complementary
#8D8538 #386A8D #5A388D
monochromatic
#353215 #615C27 #8D8538 #B7AD4B #C9C177

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8538#FFFFFF#000000##000000
##8D85381.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)
#908130
Deuteranopia (green-blind)
#93853C
Tritanopia (blue-blind)
#977C74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8538;
/* rgb */ color: rgb(141, 133, 56);
/* oklch */ color: oklch(60.8% 0.099 103.4);
Tailwind
colors: {
  custom: {
    50: '#b1a872',
    500: '#8d8538',
    950: '#000000',
  },
}
SCSS
$custom: #8d8538;
$custom-light: #b1a872;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8538",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 54.353,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.09883,
    "h": 103.4
  },
  "luminance": 0.22723
}

Semantic roles & 50–950 ramp

primary
#8D8538
secondary
#6F75B2
accent
#61D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D8538

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

Preview Lab → · Contrast checker → · Palette generator →

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