#8D771D#8D771D

#8D771D is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.107 H 94.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8D771D
RGBrgb(141, 119, 29)
HSLhsl(48, 66%, 33%)
HSVhsv(48, 79%, 55%)
CMYKcmyk(0%, 15.6%, 79.4%, 44.7%)
CIE-LABlab(50.62, -1.09, 49.05)
CIE-LCHlch(50.62, 49.06, 91.27°)
OKLaboklab(57.4% -0.0084 0.107)
OKLCHoklch(57.4% 0.107 94.5)
XYZxyz(17.8041, 18.9461, 3.8814)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D771D #1D338D
analogous
#8D3F1D #8D771D #6B8D1D
triadic
#8D771D #1D8D77 #771D8D
tetradic
#8D771D #1D8D3F #1D338D #8D1D6B
square
#8D771D #1D8D3F #1D338D #8D1D6B
split-complementary
#8D771D #1D6B8D #3F1D8D
monochromatic
#272108 #5A4C13 #8D771D #C0A227 #DABE4B

Accessibility & contrast

On white

4.39
#8D771D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8D771D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D771D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D771D#FFFFFF#000000##000000
##8D771D1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84750A
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#996D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d771d;
/* rgb */ color: rgb(141, 119, 29);
/* oklch */ color: oklch(57.4% 0.107 94.5);
Tailwind
colors: {
  custom: {
    50: '#b29d61',
    500: '#8d771d',
    950: '#000000',
  },
}
SCSS
$custom: #8d771d;
$custom-light: #b29d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d771d",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 48.214,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.10732,
    "h": 94.5
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#8D771D
secondary
#4A60BC
accent
#60E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D771D

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

Preview Lab → · Contrast checker → · Palette generator →

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