#8D771A#8D771A

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

Color values

HEX#8D771A
RGBrgb(141, 119, 26)
HSLhsl(49, 69%, 33%)
HSVhsv(49, 82%, 55%)
CMYKcmyk(0%, 15.6%, 81.6%, 44.7%)
CIE-LABlab(50.61, -1.20, 50.09)
CIE-LCHlch(50.61, 50.10, 91.38°)
OKLaboklab(57.39% -0.009 0.1086)
OKLCHoklch(57.39% 0.109 94.7)
XYZxyz(17.7688, 18.9320, 3.6954)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D771A #1A308D
analogous
#8D3E1A #8D771A #698D1A
triadic
#8D771A #1A8D77 #771A8D
tetradic
#8D771A #1A8D3E #1A308D #8D1A69
square
#8D771A #1A8D3E #1A308D #8D1A69
split-complementary
#8D771A #1A698D #3E1A8D
monochromatic
#262007 #594B10 #8D771A #C1A324 #DDC045

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D771A#FFFFFF#000000##000000
##8D771A1.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)
#847503
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#996D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d771a;
/* rgb */ color: rgb(141, 119, 26);
/* oklch */ color: oklch(57.4% 0.109 94.7);
Tailwind
colors: {
  custom: {
    50: '#b29d60',
    500: '#8d771a',
    950: '#000000',
  },
}
SCSS
$custom: #8d771a;
$custom-light: #b29d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d771a",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 48.522,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.10894,
    "h": 94.7
  },
  "luminance": 0.18931
}

Semantic roles & 50–950 ramp

primary
#8D771A
secondary
#455CBE
accent
#5EEC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D771A

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

Preview Lab → · Contrast checker → · Palette generator →

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