#8D8334#8D8334

#8D8334 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.100 H 102.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8D8334
RGBrgb(141, 131, 52)
HSLhsl(53, 46%, 38%)
HSVhsv(53, 63%, 55%)
CMYKcmyk(0%, 7.1%, 63.1%, 44.7%)
CIE-LABlab(54.18, -6.49, 42.90)
CIE-LCHlch(54.18, 43.39, 98.60°)
OKLaboklab(60.28% -0.0211 0.0982)
OKLCHoklch(60.28% 0.1 102.1)
XYZxyz(19.7214, 22.1440, 6.4835)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8334 #343E8D
analogous
#8D5634 #8D8334 #6B8D34
triadic
#8D8334 #348D83 #83348D
tetradic
#8D8334 #348D56 #343E8D #8D346B
square
#8D8334 #348D56 #343E8D #8D346B
split-complementary
#8D8334 #346B8D #56348D
monochromatic
#343013 #605924 #8D8334 #BAAD44 #CBC071

Accessibility & contrast

On white

3.87
#8D8334 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8D8334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8334
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8334#FFFFFF#000000##000000
##8D83341.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2B
Deuteranopia (green-blind)
#928438
Tritanopia (blue-blind)
#977A72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8334;
/* rgb */ color: rgb(141, 131, 52);
/* oklch */ color: oklch(60.3% 0.100 102.1);
Tailwind
colors: {
  custom: {
    50: '#b1a66f',
    500: '#8d8334',
    950: '#000000',
  },
}
SCSS
$custom: #8d8334;
$custom-light: #b1a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8334",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 53.258,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60277,
    "c": 0.10045,
    "h": 102.1
  },
  "luminance": 0.22143
}

Semantic roles & 50–950 ramp

primary
#8D8334
secondary
#6A72B3
accent
#61D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8334

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

Preview Lab → · Contrast checker → · Palette generator →

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