#8D7F2E#8D7F2E

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

Color values

HEX#8D7F2E
RGBrgb(141, 127, 46)
HSLhsl(51, 51%, 37%)
HSVhsv(51, 67%, 55%)
CMYKcmyk(0%, 9.9%, 67.4%, 44.7%)
CIE-LABlab(52.99, -4.68, 44.40)
CIE-LCHlch(52.99, 44.64, 96.02°)
OKLaboklab(59.32% -0.0167 0.1004)
OKLCHoklch(59.32% 0.102 99.4)
XYZxyz(19.0678, 21.0396, 5.6409)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F2E #2E3C8D
analogous
#8D502E #8D7F2E #6C8D2E
triadic
#8D7F2E #2E8D7F #7F2E8D
tetradic
#8D7F2E #2E8D50 #2E3C8D #8D2E6C
square
#8D7F2E #2E8D50 #2E3C8D #8D2E6C
split-complementary
#8D7F2E #2E6C8D #502E8D
monochromatic
#312C10 #5F551F #8D7F2E #BBA93D #CEBF68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7F2E#FFFFFF#000000##000000
##8D7F2E1.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)
#8B7C24
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f2e;
/* rgb */ color: rgb(141, 127, 46);
/* oklch */ color: oklch(59.3% 0.102 99.4);
Tailwind
colors: {
  custom: {
    50: '#b1a36b',
    500: '#8d7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f2e;
$custom-light: #b1a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f2e",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 51.158,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.1018,
    "h": 99.4
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

primary
#8D7F2E
secondary
#626EB5
accent
#62DA4E
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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