#8D8331#8D8331

#8D8331 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.103 H 102.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8D8331
RGBrgb(141, 131, 49)
HSLhsl(53, 48%, 37%)
HSVhsv(53, 65%, 55%)
CMYKcmyk(0%, 7.1%, 65.2%, 44.7%)
CIE-LABlab(54.15, -6.70, 44.26)
CIE-LCHlch(54.15, 44.77, 98.61°)
OKLaboklab(60.25% -0.022 0.1006)
OKLCHoklch(60.25% 0.103 102.4)
XYZxyz(19.6560, 22.1179, 6.1389)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8331 #313B8D
analogous
#8D5531 #8D8331 #698D31
triadic
#8D8331 #318D83 #83318D
tetradic
#8D8331 #318D55 #313B8D #8D3169
square
#8D8331 #318D55 #313B8D #8D3169
split-complementary
#8D8331 #31698D #55318D
monochromatic
#322F11 #605921 #8D8331 #BAAD41 #CCC26C

Accessibility & contrast

On white

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

On black

5.42
#8D8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8331
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8331#FFFFFF#000000##000000
##8D83311.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F27
Deuteranopia (green-blind)
#928336
Tritanopia (blue-blind)
#977A72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8331;
/* rgb */ color: rgb(141, 131, 49);
/* oklch */ color: oklch(60.2% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#b1a66d',
    500: '#8d8331',
    950: '#000000',
  },
}
SCSS
$custom: #8d8331;
$custom-light: #b1a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8331",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 53.478,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.10303,
    "h": 102.4
  },
  "luminance": 0.22117
}

Semantic roles & 50–950 ramp

primary
#8D8331
secondary
#666FB4
accent
#5FD850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8331

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

Preview Lab → · Contrast checker → · Palette generator →

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