#8D731E#8D731E

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

Color values

HEX#8D731E
RGBrgb(141, 115, 30)
HSLhsl(46, 65%, 34%)
HSVhsv(46, 79%, 55%)
CMYKcmyk(0%, 18.4%, 78.7%, 44.7%)
CIE-LABlab(49.52, 1.23, 47.65)
CIE-LCHlch(49.52, 47.67, 88.53°)
OKLaboklab(56.53% -0.0017 0.1042)
OKLCHoklch(56.53% 0.104 90.9)
XYZxyz(17.3506, 18.0190, 3.7922)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D731E #1E388D
analogous
#8D3B1E #8D731E #6F8D1E
triadic
#8D731E #1E8D73 #731E8D
tetradic
#8D731E #1E8D3B #1E388D #8D1E6F
square
#8D731E #1E8D3B #1E388D #8D1E6F
split-complementary
#8D731E #1E6F8D #3B1E8D
monochromatic
#282109 #5B4A13 #8D731E #BF9C29 #D9B84C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D731E#FFFFFF#000000##000000
##8D731E1.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)
#81710E
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#996963
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d731e;
/* rgb */ color: rgb(141, 115, 30);
/* oklch */ color: oklch(56.5% 0.104 90.9);
Tailwind
colors: {
  custom: {
    50: '#b29a61',
    500: '#8d731e',
    950: '#000000',
  },
}
SCSS
$custom: #8d731e;
$custom-light: #b29a61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d731e",
  "rgb": {
    "r": 141,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 45.946,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56533,
    "c": 0.10423,
    "h": 90.9
  },
  "luminance": 0.18018
}

Semantic roles & 50–950 ramp

primary
#8D731E
secondary
#4B66BC
accent
#67E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D731E

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

Preview Lab → · Contrast checker → · Palette generator →

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