#8D8832#8D8832

#8D8832 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.107 H 106.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8D8832
RGBrgb(141, 136, 50)
HSLhsl(57, 48%, 37%)
HSVhsv(57, 65%, 55%)
CMYKcmyk(0%, 3.5%, 64.5%, 44.7%)
CIE-LABlab(55.59, -9.37, 45.34)
CIE-LCHlch(55.59, 46.29, 101.67°)
OKLaboklab(61.39% -0.0295 0.1031)
OKLCHoklch(61.39% 0.107 106)
XYZxyz(20.3651, 23.5020, 6.4806)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8832 #32378D
analogous
#8D5A32 #8D8832 #658D32
triadic
#8D8832 #328D88 #88328D
tetradic
#8D8832 #328D5A #32378D #8D3265
square
#8D8832 #328D5A #32378D #8D3265
split-complementary
#8D8832 #32658D #5A328D
monochromatic
#333112 #605C22 #8D8832 #BAB442 #CCC66E

Accessibility & contrast

On white

3.68
#8D8832 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8D8832 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8832
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8832#FFFFFF#000000##000000
##8D88321.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938327
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#977F76
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8832;
/* rgb */ color: rgb(141, 136, 50);
/* oklch */ color: oklch(61.4% 0.107 106.0);
Tailwind
colors: {
  custom: {
    50: '#b1aa6e',
    500: '#8d8832',
    950: '#000000',
  },
}
SCSS
$custom: #8d8832;
$custom-light: #b1aa6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8832",
  "rgb": {
    "r": 141,
    "g": 136,
    "b": 50
  },
  "hsl": {
    "h": 56.703,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61389,
    "c": 0.10721,
    "h": 106
  },
  "luminance": 0.23501
}

Semantic roles & 50–950 ramp

primary
#8D8832
secondary
#686CB3
accent
#58D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8832

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

Preview Lab → · Contrast checker → · Palette generator →

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