#8D7C2D#8D7C2D

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

Color values

HEX#8D7C2D
RGBrgb(141, 124, 45)
HSLhsl(49, 52%, 36%)
HSVhsv(49, 68%, 55%)
CMYKcmyk(0%, 12.1%, 68.1%, 44.7%)
CIE-LABlab(52.14, -3.07, 43.95)
CIE-LCHlch(52.14, 44.06, 94.00°)
OKLaboklab(58.64% -0.0122 0.0993)
OKLCHoklch(58.64% 0.1 97)
XYZxyz(18.6667, 20.2684, 5.4111)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C2D #2D3E8D
analogous
#8D4C2D #8D7C2D #6E8D2D
triadic
#8D7C2D #2D8D7C #7C2D8D
tetradic
#8D7C2D #2D8D4C #2D3E8D #8D2D6E
square
#8D7C2D #2D8D4C #2D3E8D #8D2D6E
split-complementary
#8D7C2D #2D6E8D #4C2D8D
monochromatic
#302A0F #5F531E #8D7C2D #BBA53C #CEBC66

Accessibility & contrast

On white

4.16
#8D7C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8D7C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C2D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C2D#FFFFFF#000000##000000
##8D7C2D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d7c2d;
/* rgb */ color: rgb(141, 124, 45);
/* oklch */ color: oklch(58.6% 0.100 97.0);
Tailwind
colors: {
  custom: {
    50: '#b1a16a',
    500: '#8d7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c2d;
$custom-light: #b1a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c2d",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 49.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.10006,
    "h": 97
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#8D7C2D
secondary
#6170B5
accent
#66DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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