#8D8741#8D8741

#8D8741 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.3% C 0.092 H 104.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8D8741
RGBrgb(141, 135, 65)
HSLhsl(55, 37%, 40%)
HSVhsv(55, 54%, 55%)
CMYKcmyk(0%, 4.3%, 53.9%, 44.7%)
CIE-LABlab(55.45, -7.64, 37.97)
CIE-LCHlch(55.45, 38.73, 101.37°)
OKLaboklab(61.33% -0.0228 0.0893)
OKLCHoklch(61.33% 0.092 104.3)
XYZxyz(20.6032, 23.3730, 8.4261)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8741 #41478D
analogous
#8D6141 #8D8741 #6D8D41
triadic
#8D8741 #418D87 #87418D
tetradic
#8D8741 #418D61 #41478D #8D416D
square
#8D8741 #418D61 #41478D #8D416D
split-complementary
#8D8741 #416D8D #61418D
monochromatic
#39371A #635F2E #8D8741 #B2AB59 #C6C083

Accessibility & contrast

On white

3.70
#8D8741 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8D8741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8741
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8741#FFFFFF#000000##000000
##8D87411.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91833A
Deuteranopia (green-blind)
#948644
Tritanopia (blue-blind)
#967F77
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8741;
/* rgb */ color: rgb(141, 135, 65);
/* oklch */ color: oklch(61.3% 0.092 104.3);
Tailwind
colors: {
  custom: {
    50: '#b0a978',
    500: '#8d8741',
    950: '#000000',
  },
}
SCSS
$custom: #8d8741;
$custom-light: #b0a978;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8741",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 55.263,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61334,
    "c": 0.09213,
    "h": 104.3
  },
  "luminance": 0.23372
}

Semantic roles & 50–950 ramp

primary
#8D8741
secondary
#797EB0
accent
#64CD5B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8741

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

Preview Lab → · Contrast checker → · Palette generator →

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