#8D862C#8D862C

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

Color values

HEX#8D862C
RGBrgb(141, 134, 44)
HSLhsl(56, 52%, 36%)
HSVhsv(56, 69%, 55%)
CMYKcmyk(0%, 5%, 68.8%, 44.7%)
CIE-LABlab(54.96, -8.66, 47.32)
CIE-LCHlch(54.96, 48.10, 100.37°)
OKLaboklab(60.88% -0.0282 0.1063)
OKLCHoklch(60.88% 0.11 104.9)
XYZxyz(19.9650, 22.8955, 5.7500)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D862C #2C338D
analogous
#8D562C #8D862C #648D2C
triadic
#8D862C #2C8D86 #862C8D
tetradic
#8D862C #2C8D56 #2C338D #8D2C64
square
#8D862C #2C8D56 #2C338D #8D2C64
split-complementary
#8D862C #2C648D #562C8D
monochromatic
#302D0F #5E5A1D #8D862C #BCB23B #CFC765

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D862C#FFFFFF#000000##000000
##8D862C1.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)
#92811F
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#977D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d862c;
/* rgb */ color: rgb(141, 134, 44);
/* oklch */ color: oklch(60.9% 0.110 104.9);
Tailwind
colors: {
  custom: {
    50: '#b1a96b',
    500: '#8d862c',
    950: '#000000',
  },
}
SCSS
$custom: #8d862c;
$custom-light: #b1a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d862c",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 55.67,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.10994,
    "h": 104.9
  },
  "luminance": 0.22895
}

Semantic roles & 50–950 ramp

primary
#8D862C
secondary
#6066B5
accent
#56DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D862C

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

Preview Lab → · Contrast checker → · Palette generator →

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