#8D7E2E#8D7E2E

#8D7E2E is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.101 H 98.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8D7E2E
RGBrgb(141, 126, 46)
HSLhsl(51, 51%, 37%)
HSVhsv(51, 67%, 55%)
CMYKcmyk(0%, 10.6%, 67.4%, 44.7%)
CIE-LABlab(52.71, -4.13, 44.10)
CIE-LCHlch(52.71, 44.29, 95.34°)
OKLaboklab(59.09% -0.0151 0.0998)
OKLCHoklch(59.09% 0.101 98.6)
XYZxyz(18.9393, 20.7826, 5.5981)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E2E #2E3D8D
analogous
#8D4F2E #8D7E2E #6D8D2E
triadic
#8D7E2E #2E8D7E #7E2E8D
tetradic
#8D7E2E #2E8D4F #2E3D8D #8D2E6D
square
#8D7E2E #2E8D4F #2E3D8D #8D2E6D
split-complementary
#8D7E2E #2E6D8D #4F2E8D
monochromatic
#312C10 #5F551F #8D7E2E #BBA73D #CEBE68

Accessibility & contrast

On white

4.07
#8D7E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8D7E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E2E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E2E#FFFFFF#000000##000000
##8D7E2E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7e2e;
/* rgb */ color: rgb(141, 126, 46);
/* oklch */ color: oklch(59.1% 0.101 98.6);
Tailwind
colors: {
  custom: {
    50: '#b1a36b',
    500: '#8d7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e2e;
$custom-light: #b1a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e2e",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 50.526,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59094,
    "c": 0.10093,
    "h": 98.6
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#8D7E2E
secondary
#626FB5
accent
#64DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8D7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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