#8D771E#8D771E

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

Color values

HEX#8D771E
RGBrgb(141, 119, 30)
HSLhsl(48, 65%, 34%)
HSVhsv(48, 79%, 55%)
CMYKcmyk(0%, 15.6%, 78.7%, 44.7%)
CIE-LABlab(50.63, -1.04, 48.69)
CIE-LCHlch(50.63, 48.70, 91.23°)
OKLaboklab(57.41% -0.0082 0.1064)
OKLCHoklch(57.41% 0.107 94.4)
XYZxyz(17.8167, 18.9511, 3.9475)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D771E #1E348D
analogous
#8D3F1E #8D771E #6B8D1E
triadic
#8D771E #1E8D77 #771E8D
tetradic
#8D771E #1E8D3F #1E348D #8D1E6B
square
#8D771E #1E8D3F #1E348D #8D1E6B
split-complementary
#8D771E #1E6B8D #3F1E8D
monochromatic
#282209 #5B4C13 #8D771E #BFA229 #D9BD4C

Accessibility & contrast

On white

4.38
#8D771E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D771E#FFFFFF#000000##000000
##8D771E1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d771e;
/* rgb */ color: rgb(141, 119, 30);
/* oklch */ color: oklch(57.4% 0.107 94.4);
Tailwind
colors: {
  custom: {
    50: '#b29d61',
    500: '#8d771e',
    950: '#000000',
  },
}
SCSS
$custom: #8d771e;
$custom-light: #b29d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d771e",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 48.108,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.10674,
    "h": 94.4
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#8D771E
secondary
#4B61BC
accent
#61E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D771E

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

Preview Lab → · Contrast checker → · Palette generator →

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