#8D7C2E#8D7C2E

#8D7C2E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.099 H 96.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8D7C2E
RGBrgb(141, 124, 46)
HSLhsl(49, 51%, 37%)
HSVhsv(49, 67%, 55%)
CMYKcmyk(0%, 12.1%, 67.4%, 44.7%)
CIE-LABlab(52.15, -3.01, 43.50)
CIE-LCHlch(52.15, 43.61, 93.95°)
OKLaboklab(58.65% -0.0119 0.0985)
OKLCHoklch(58.65% 0.099 96.9)
XYZxyz(18.6861, 20.2762, 5.5137)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C2E #2E3F8D
analogous
#8D4D2E #8D7C2E #6F8D2E
triadic
#8D7C2E #2E8D7C #7C2E8D
tetradic
#8D7C2E #2E8D4D #2E3F8D #8D2E6F
square
#8D7C2E #2E8D4D #2E3F8D #8D2E6F
split-complementary
#8D7C2E #2E6F8D #4D2E8D
monochromatic
#312B10 #5F531F #8D7C2E #BBA53D #CEBB68

Accessibility & contrast

On white

4.15
#8D7C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8D7C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C2E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C2E#FFFFFF#000000##000000
##8D7C2E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#98736C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c2e;
/* rgb */ color: rgb(141, 124, 46);
/* oklch */ color: oklch(58.6% 0.099 96.9);
Tailwind
colors: {
  custom: {
    50: '#b1a16b',
    500: '#8d7c2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c2e;
$custom-light: #b1a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c2e",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 49.263,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.09925,
    "h": 96.9
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#8D7C2E
secondary
#6271B5
accent
#67DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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