#8D8328#8D8328

#8D8328 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.110 H 103.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8D8328
RGBrgb(141, 131, 40)
HSLhsl(54, 56%, 35%)
HSVhsv(54, 72%, 55%)
CMYKcmyk(0%, 7.1%, 71.6%, 44.7%)
CIE-LABlab(54.08, -7.25, 48.09)
CIE-LCHlch(54.08, 48.64, 98.57°)
OKLaboklab(60.17% -0.0247 0.1072)
OKLCHoklch(60.17% 0.11 103)
XYZxyz(19.4846, 22.0493, 5.2367)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8328 #28328D
analogous
#8D5028 #8D8328 #658D28
triadic
#8D8328 #288D83 #83288D
tetradic
#8D8328 #288D50 #28328D #8D2865
square
#8D8328 #288D50 #28328D #8D2865
split-complementary
#8D8328 #28658D #50288D
monochromatic
#2E2A0D #5D571A #8D8328 #BDAF36 #D1C65E

Accessibility & contrast

On white

3.88
#8D8328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8D8328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8328
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8328#FFFFFF#000000##000000
##8D83281.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1A
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#987A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8328;
/* rgb */ color: rgb(141, 131, 40);
/* oklch */ color: oklch(60.2% 0.110 103.0);
Tailwind
colors: {
  custom: {
    50: '#b1a668',
    500: '#8d8328',
    950: '#000000',
  },
}
SCSS
$custom: #8d8328;
$custom-light: #b1a668;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8328",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 54.059,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.10998,
    "h": 103
  },
  "luminance": 0.22049
}

Semantic roles & 50–950 ramp

primary
#8D8328
secondary
#5A63B7
accent
#58DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8328

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

Preview Lab → · Contrast checker → · Palette generator →

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