#8D7934#8D7934

#8D7934 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.092 H 93.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8D7934
RGBrgb(141, 121, 52)
HSLhsl(47, 46%, 38%)
HSVhsv(47, 63%, 55%)
CMYKcmyk(0%, 14.2%, 63.1%, 44.7%)
CIE-LABlab(51.37, -0.91, 39.80)
CIE-LCHlch(51.37, 39.81, 91.30°)
OKLaboklab(58.05% -0.0051 0.0916)
OKLCHoklch(58.05% 0.092 93.2)
XYZxyz(18.4425, 19.5863, 6.0573)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7934 #34488D
analogous
#8D4C34 #8D7934 #748D34
triadic
#8D7934 #348D79 #79348D
tetradic
#8D7934 #348D4C #34488D #8D3474
square
#8D7934 #348D4C #34488D #8D3474
split-complementary
#8D7934 #34748D #4C348D
monochromatic
#342C13 #605324 #8D7934 #BA9F44 #CBB671

Accessibility & contrast

On white

4.27
#8D7934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8D7934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7934
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7934#FFFFFF#000000##000000
##8D79341.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772D
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#98706A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7934;
/* rgb */ color: rgb(141, 121, 52);
/* oklch */ color: oklch(58.0% 0.092 93.2);
Tailwind
colors: {
  custom: {
    50: '#b19f6e',
    500: '#8d7934',
    950: '#000000',
  },
}
SCSS
$custom: #8d7934;
$custom-light: #b19f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7934",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 52
  },
  "hsl": {
    "h": 46.517,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.09174,
    "h": 93.2
  },
  "luminance": 0.19585
}

Semantic roles & 50–950 ramp

primary
#8D7934
secondary
#6A7AB3
accent
#70D652
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7934

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

Preview Lab → · Contrast checker → · Palette generator →

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