#8D771C#8D771C

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

Color values

HEX#8D771C
RGBrgb(141, 119, 28)
HSLhsl(48, 67%, 33%)
HSVhsv(48, 80%, 55%)
CMYKcmyk(0%, 15.6%, 80.1%, 44.7%)
CIE-LABlab(50.62, -1.13, 49.40)
CIE-LCHlch(50.62, 49.41, 91.31°)
OKLaboklab(57.4% -0.0086 0.1075)
OKLCHoklch(57.4% 0.108 94.6)
XYZxyz(17.7919, 18.9412, 3.8173)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D771C #1C328D
analogous
#8D3F1C #8D771C #6A8D1C
triadic
#8D771C #1C8D77 #771C8D
tetradic
#8D771C #1C8D3F #1C328D #8D1C6A
square
#8D771C #1C8D3F #1C328D #8D1C6A
split-complementary
#8D771C #1C6A8D #3F1C8D
monochromatic
#272108 #5A4C12 #8D771C #C0A226 #DBBE49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D771C#FFFFFF#000000##000000
##8D771C1.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)
#847508
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#996D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d771c;
/* rgb */ color: rgb(141, 119, 28);
/* oklch */ color: oklch(57.4% 0.108 94.6);
Tailwind
colors: {
  custom: {
    50: '#b29d60',
    500: '#8d771c',
    950: '#000000',
  },
}
SCSS
$custom: #8d771c;
$custom-light: #b29d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d771c",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 48.319,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57397,
    "c": 0.10787,
    "h": 94.6
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

primary
#8D771C
secondary
#485FBD
accent
#5FEA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D771C

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

Preview Lab → · Contrast checker → · Palette generator →

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