#8D862D#8D862D

#8D862D is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.109 H 104.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8D862D
RGBrgb(141, 134, 45)
HSLhsl(56, 52%, 36%)
HSVhsv(56, 68%, 55%)
CMYKcmyk(0%, 5%, 68.1%, 44.7%)
CIE-LABlab(54.97, -8.60, 46.90)
CIE-LCHlch(54.97, 47.68, 100.39°)
OKLaboklab(60.89% -0.0279 0.1056)
OKLCHoklch(60.89% 0.109 104.8)
XYZxyz(19.9840, 22.9031, 5.8502)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D862D #2D348D
analogous
#8D562D #8D862D #648D2D
triadic
#8D862D #2D8D86 #862D8D
tetradic
#8D862D #2D8D56 #2D348D #8D2D64
square
#8D862D #2D8D56 #2D348D #8D2D64
split-complementary
#8D862D #2D648D #562D8D
monochromatic
#302E0F #5F5A1E #8D862D #BBB23C #CEC766

Accessibility & contrast

On white

3.76
#8D862D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8D862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D862D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D862D#FFFFFF#000000##000000
##8D862D1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928121
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#977D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d862d;
/* rgb */ color: rgb(141, 134, 45);
/* oklch */ color: oklch(60.9% 0.109 104.8);
Tailwind
colors: {
  custom: {
    50: '#b1a96b',
    500: '#8d862d',
    950: '#000000',
  },
}
SCSS
$custom: #8d862d;
$custom-light: #b1a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d862d",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 55.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60888,
    "c": 0.10918,
    "h": 104.8
  },
  "luminance": 0.22902
}

Semantic roles & 50–950 ramp

primary
#8D862D
secondary
#6167B5
accent
#57DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D862D

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

Preview Lab → · Contrast checker → · Palette generator →

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