#8D7A1D#8D7A1D

#8D7A1D is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.109 H 96.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D7A1D
RGBrgb(141, 122, 29)
HSLhsl(50, 66%, 33%)
HSVhsv(50, 79%, 55%)
CMYKcmyk(0%, 13.5%, 79.4%, 44.7%)
CIE-LABlab(51.46, -2.78, 49.82)
CIE-LCHlch(51.46, 49.90, 93.19°)
OKLaboklab(58.07% -0.0132 0.1086)
OKLCHoklch(58.07% 0.109 96.9)
XYZxyz(18.1668, 19.6715, 4.0022)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A1D #1D308D
analogous
#8D421D #8D7A1D #688D1D
triadic
#8D7A1D #1D8D7A #7A1D8D
tetradic
#8D7A1D #1D8D42 #1D308D #8D1D68
square
#8D7A1D #1D8D42 #1D308D #8D1D68
split-complementary
#8D7A1D #1D688D #421D8D
monochromatic
#272208 #5A4E13 #8D7A1D #C0A627 #DAC24B

Accessibility & contrast

On white

4.26
#8D7A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8D7A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A1D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A1D#FFFFFF#000000##000000
##8D7A1D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#997068
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a1d;
/* rgb */ color: rgb(141, 122, 29);
/* oklch */ color: oklch(58.1% 0.109 96.9);
Tailwind
colors: {
  custom: {
    50: '#b2a061',
    500: '#8d7a1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a1d;
$custom-light: #b2a061;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a1d",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 49.821,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58067,
    "c": 0.10944,
    "h": 96.9
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#8D7A1D
secondary
#4A5DBC
accent
#5CE93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D7A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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