#8D7D2E#8D7D2E

#8D7D2E is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.100 H 97.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D7D2E
RGBrgb(141, 125, 46)
HSLhsl(50, 51%, 37%)
HSVhsv(50, 67%, 55%)
CMYKcmyk(0%, 11.3%, 67.4%, 44.7%)
CIE-LABlab(52.43, -3.57, 43.80)
CIE-LCHlch(52.43, 43.95, 94.65°)
OKLaboklab(58.87% -0.0135 0.0992)
OKLCHoklch(58.87% 0.1 97.7)
XYZxyz(18.8121, 20.5281, 5.5557)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D2E #2E3E8D
analogous
#8D4E2E #8D7D2E #6E8D2E
triadic
#8D7D2E #2E8D7D #7D2E8D
tetradic
#8D7D2E #2E8D4E #2E3E8D #8D2E6E
square
#8D7D2E #2E8D4E #2E3E8D #8D2E6E
split-complementary
#8D7D2E #2E6E8D #4E2E8D
monochromatic
#312B10 #5F541F #8D7D2E #BBA63D #CEBC68

Accessibility & contrast

On white

4.11
#8D7D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8D7D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D2E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D2E#FFFFFF#000000##000000
##8D7D2E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d2e;
/* rgb */ color: rgb(141, 125, 46);
/* oklch */ color: oklch(58.9% 0.100 97.7);
Tailwind
colors: {
  custom: {
    50: '#b1a26b',
    500: '#8d7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d2e;
$custom-light: #b1a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d2e",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 49.895,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58871,
    "c": 0.10008,
    "h": 97.7
  },
  "luminance": 0.20527
}

Semantic roles & 50–950 ramp

primary
#8D7D2E
secondary
#6270B5
accent
#65DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8D7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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