#8D7E1D#8D7E1D

#8D7E1D is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.113 H 100.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D7E1D
RGBrgb(141, 126, 29)
HSLhsl(52, 66%, 33%)
HSVhsv(52, 79%, 55%)
CMYKcmyk(0%, 10.6%, 79.4%, 44.7%)
CIE-LABlab(52.59, -5.01, 50.85)
CIE-LCHlch(52.59, 51.10, 95.63°)
OKLaboklab(58.96% -0.0195 0.1108)
OKLCHoklch(58.96% 0.113 100)
XYZxyz(18.6681, 20.6741, 4.1693)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E1D #1D2C8D
analogous
#8D461D #8D7E1D #648D1D
triadic
#8D7E1D #1D8D7E #7E1D8D
tetradic
#8D7E1D #1D8D46 #1D2C8D #8D1D64
square
#8D7E1D #1D8D46 #1D2C8D #8D1D64
split-complementary
#8D7E1D #1D648D #461D8D
monochromatic
#272308 #5A5113 #8D7E1D #C0AB27 #DAC74B

Accessibility & contrast

On white

4.09
#8D7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8D7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E1D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E1D#FFFFFF#000000##000000
##8D7E1D1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7e1d;
/* rgb */ color: rgb(141, 126, 29);
/* oklch */ color: oklch(59.0% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#b2a362',
    500: '#8d7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e1d;
$custom-light: #b2a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e1d",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 51.964,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.11254,
    "h": 100
  },
  "luminance": 0.20673
}

Semantic roles & 50–950 ramp

primary
#8D7E1D
secondary
#4A59BC
accent
#56E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8D7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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