#8D8034#8D8034

#8D8034 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.098 H 99.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8D8034
RGBrgb(141, 128, 52)
HSLhsl(51, 46%, 38%)
HSVhsv(51, 63%, 55%)
CMYKcmyk(0%, 9.2%, 63.1%, 44.7%)
CIE-LABlab(53.33, -4.83, 41.97)
CIE-LCHlch(53.33, 42.25, 96.56°)
OKLaboklab(59.6% -0.0163 0.0962)
OKLCHoklch(59.6% 0.098 99.6)
XYZxyz(19.3243, 21.3498, 6.3512)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8034 #34418D
analogous
#8D5334 #8D8034 #6D8D34
triadic
#8D8034 #348D80 #80348D
tetradic
#8D8034 #348D53 #34418D #8D346D
square
#8D8034 #348D53 #34418D #8D346D
split-complementary
#8D8034 #346D8D #53348D
monochromatic
#342F13 #605724 #8D8034 #BAA944 #CBBD71

Accessibility & contrast

On white

3.98
#8D8034 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8D8034 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8034
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8034#FFFFFF#000000##000000
##8D80341.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2C
Deuteranopia (green-blind)
#8F8238
Tritanopia (blue-blind)
#977770
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8034;
/* rgb */ color: rgb(141, 128, 52);
/* oklch */ color: oklch(59.6% 0.098 99.6);
Tailwind
colors: {
  custom: {
    50: '#b1a46f',
    500: '#8d8034',
    950: '#000000',
  },
}
SCSS
$custom: #8d8034;
$custom-light: #b1a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8034",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 51.236,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.09761,
    "h": 99.6
  },
  "luminance": 0.21349
}

Semantic roles & 50–950 ramp

primary
#8D8034
secondary
#6A75B3
accent
#65D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8034

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

Preview Lab → · Contrast checker → · Palette generator →

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