#8D7F32#8D7F32

#8D7F32 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.098 H 99.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8D7F32
RGBrgb(141, 127, 50)
HSLhsl(51, 48%, 37%)
HSVhsv(51, 65%, 55%)
CMYKcmyk(0%, 9.9%, 64.5%, 44.7%)
CIE-LABlab(53.03, -4.42, 42.59)
CIE-LCHlch(53.03, 42.82, 95.92°)
OKLaboklab(59.36% -0.0154 0.0973)
OKLCHoklch(59.36% 0.098 99)
XYZxyz(19.1504, 21.0726, 6.0757)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F32 #32408D
analogous
#8D5132 #8D7F32 #6E8D32
triadic
#8D7F32 #328D7F #7F328D
tetradic
#8D7F32 #328D51 #32408D #8D326E
square
#8D7F32 #328D51 #32408D #8D326E
split-complementary
#8D7F32 #326E8D #51328D
monochromatic
#332E12 #605622 #8D7F32 #BAA842 #CCBD6E

Accessibility & contrast

On white

4.03
#8D7F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8D7F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F32
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F32#FFFFFF#000000##000000
##8D7F321.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C29
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#98766F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d7f32;
/* rgb */ color: rgb(141, 127, 50);
/* oklch */ color: oklch(59.4% 0.098 99.0);
Tailwind
colors: {
  custom: {
    50: '#b1a36d',
    500: '#8d7f32',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f32;
$custom-light: #b1a36d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f32",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 50
  },
  "hsl": {
    "h": 50.769,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59358,
    "c": 0.09846,
    "h": 99
  },
  "luminance": 0.21072
}

Semantic roles & 50–950 ramp

primary
#8D7F32
secondary
#6873B3
accent
#65D751
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D7F32

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

Preview Lab → · Contrast checker → · Palette generator →

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