#8D731D#8D731D

#8D731D is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.5% C 0.105 H 91.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D731D
RGBrgb(141, 115, 29)
HSLhsl(46, 66%, 33%)
HSVhsv(46, 79%, 55%)
CMYKcmyk(0%, 18.4%, 79.4%, 44.7%)
CIE-LABlab(49.51, 1.18, 48.02)
CIE-LCHlch(49.51, 48.04, 88.59°)
OKLaboklab(56.53% -0.0019 0.1048)
OKLCHoklch(56.53% 0.105 91)
XYZxyz(17.3380, 18.0140, 3.7260)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D731D #1D378D
analogous
#8D3B1D #8D731D #6F8D1D
triadic
#8D731D #1D8D73 #731D8D
tetradic
#8D731D #1D8D3B #1D378D #8D1D6F
square
#8D731D #1D8D3B #1D378D #8D1D6F
split-complementary
#8D731D #1D6F8D #3B1D8D
monochromatic
#272008 #5A4A13 #8D731D #C09C27 #DAB94B

Accessibility & contrast

On white

4.56
#8D731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8D731D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D731D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D731D#FFFFFF#000000##000000
##8D731D1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81710C
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#996963
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d731d;
/* rgb */ color: rgb(141, 115, 29);
/* oklch */ color: oklch(56.5% 0.105 91.0);
Tailwind
colors: {
  custom: {
    50: '#b29a60',
    500: '#8d731d',
    950: '#000000',
  },
}
SCSS
$custom: #8d731d;
$custom-light: #b29a60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d731d",
  "rgb": {
    "r": 141,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 46.071,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56526,
    "c": 0.10481,
    "h": 91
  },
  "luminance": 0.18013
}

Semantic roles & 50–950 ramp

primary
#8D731D
secondary
#4A64BC
accent
#66E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D731D

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

Preview Lab → · Contrast checker → · Palette generator →

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