#8D7F2F#8D7F2F

#8D7F2F is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.101 H 99.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8D7F2F
RGBrgb(141, 127, 47)
HSLhsl(51, 50%, 37%)
HSVhsv(51, 67%, 55%)
CMYKcmyk(0%, 9.9%, 66.7%, 44.7%)
CIE-LABlab(53.00, -4.62, 43.95)
CIE-LCHlch(53.00, 44.19, 96.00°)
OKLaboklab(59.33% -0.0164 0.0997)
OKLCHoklch(59.33% 0.101 99.3)
XYZxyz(19.0878, 21.0476, 5.7459)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F2F #2F3D8D
analogous
#8D502F #8D7F2F #6C8D2F
triadic
#8D7F2F #2F8D7F #7F2F8D
tetradic
#8D7F2F #2F8D50 #2F3D8D #8D2F6C
square
#8D7F2F #2F8D50 #2F3D8D #8D2F6C
split-complementary
#8D7F2F #2F6C8D #502F8D
monochromatic
#312C10 #5F5620 #8D7F2F #BBA83E #CDBE69

Accessibility & contrast

On white

4.03
#8D7F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8D7F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F2F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F2F#FFFFFF#000000##000000
##8D7F2F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C25
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d7f2f;
/* rgb */ color: rgb(141, 127, 47);
/* oklch */ color: oklch(59.3% 0.101 99.3);
Tailwind
colors: {
  custom: {
    50: '#b1a36c',
    500: '#8d7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f2f;
$custom-light: #b1a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f2f",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 51.064,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59327,
    "c": 0.10099,
    "h": 99.3
  },
  "luminance": 0.21047
}

Semantic roles & 50–950 ramp

primary
#8D7F2F
secondary
#6470B4
accent
#63DA4E
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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