#8D7C2F#8D7C2F

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

Color values

HEX#8D7C2F
RGBrgb(141, 124, 47)
HSLhsl(49, 50%, 37%)
HSVhsv(49, 67%, 55%)
CMYKcmyk(0%, 12.1%, 66.7%, 44.7%)
CIE-LABlab(52.16, -2.94, 43.05)
CIE-LCHlch(52.16, 43.15, 93.91°)
OKLaboklab(58.66% -0.0116 0.0978)
OKLCHoklch(58.66% 0.098 96.8)
XYZxyz(18.7061, 20.2842, 5.6187)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C2F #2F408D
analogous
#8D4D2F #8D7C2F #6F8D2F
triadic
#8D7C2F #2F8D7C #7C2F8D
tetradic
#8D7C2F #2F8D4D #2F408D #8D2F6F
square
#8D7C2F #2F8D4D #2F408D #8D2F6F
split-complementary
#8D7C2F #2F6F8D #4D2F8D
monochromatic
#312B10 #5F5420 #8D7C2F #BBA43E #CDBB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7C2F#FFFFFF#000000##000000
##8D7C2F1.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)
#887926
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#98736C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c2f;
/* rgb */ color: rgb(141, 124, 47);
/* oklch */ color: oklch(58.7% 0.098 96.8);
Tailwind
colors: {
  custom: {
    50: '#b1a16b',
    500: '#8d7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c2f;
$custom-light: #b1a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c2f",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 49.149,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.09843,
    "h": 96.8
  },
  "luminance": 0.20283
}

Semantic roles & 50–950 ramp

primary
#8D7C2F
secondary
#6472B4
accent
#67DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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