#8D7C1D#8D7C1D

#8D7C1D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.111 H 98.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D7C1D
RGBrgb(141, 124, 29)
HSLhsl(51, 66%, 33%)
HSVhsv(51, 79%, 55%)
CMYKcmyk(0%, 12.1%, 79.4%, 44.7%)
CIE-LABlab(52.03, -3.90, 50.33)
CIE-LCHlch(52.03, 50.48, 94.43°)
OKLaboklab(58.51% -0.0163 0.1097)
OKLCHoklch(58.51% 0.111 98.5)
XYZxyz(18.4149, 20.1677, 4.0849)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C1D #1D2E8D
analogous
#8D441D #8D7C1D #668D1D
triadic
#8D7C1D #1D8D7C #7C1D8D
tetradic
#8D7C1D #1D8D44 #1D2E8D #8D1D66
square
#8D7C1D #1D8D44 #1D2E8D #8D1D66
split-complementary
#8D7C1D #1D668D #441D8D
monochromatic
#272308 #5A4F13 #8D7C1D #C0A927 #DAC44B

Accessibility & contrast

On white

4.17
#8D7C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8D7C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C1D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C1D#FFFFFF#000000##000000
##8D7C1D1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#99726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c1d;
/* rgb */ color: rgb(141, 124, 29);
/* oklch */ color: oklch(58.5% 0.111 98.5);
Tailwind
colors: {
  custom: {
    50: '#b2a162',
    500: '#8d7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c1d;
$custom-light: #b2a162;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c1d",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 50.893,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.11095,
    "h": 98.5
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#8D7C1D
secondary
#4A5BBC
accent
#59E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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