#8D761F#8D761F

#8D761F is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.2% C 0.105 H 93.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D761F
RGBrgb(141, 118, 31)
HSLhsl(47, 64%, 34%)
HSVhsv(47, 78%, 55%)
CMYKcmyk(0%, 16.3%, 78%, 44.7%)
CIE-LABlab(50.36, -0.44, 48.05)
CIE-LCHlch(50.36, 48.06, 90.52°)
OKLaboklab(57.2% -0.0063 0.1053)
OKLCHoklch(57.2% 0.105 93.4)
XYZxyz(17.7112, 18.7196, 3.9764)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D761F #1F368D
analogous
#8D3F1F #8D761F #6D8D1F
triadic
#8D761F #1F8D76 #761F8D
tetradic
#8D761F #1F8D3F #1F368D #8D1F6D
square
#8D761F #1F8D3F #1F368D #8D1F6D
split-complementary
#8D761F #1F6D8D #3F1F8D
monochromatic
#292209 #5B4C14 #8D761F #BFA02A #D8BB4E

Accessibility & contrast

On white

4.43
#8D761F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8D761F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D761F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D761F#FFFFFF#000000##000000
##8D761F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#996C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d761f;
/* rgb */ color: rgb(141, 118, 31);
/* oklch */ color: oklch(57.2% 0.105 93.4);
Tailwind
colors: {
  custom: {
    50: '#b29d62',
    500: '#8d761f',
    950: '#000000',
  },
}
SCSS
$custom: #8d761f;
$custom-light: #b29d62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d761f",
  "rgb": {
    "r": 141,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 47.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57196,
    "c": 0.10549,
    "h": 93.4
  },
  "luminance": 0.18719
}

Semantic roles & 50–950 ramp

primary
#8D761F
secondary
#4D64BB
accent
#64E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D761F

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

Preview Lab → · Contrast checker → · Palette generator →

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