#8D731C#8D731C

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

Color values

HEX#8D731C
RGBrgb(141, 115, 28)
HSLhsl(46, 67%, 33%)
HSVhsv(46, 80%, 55%)
CMYKcmyk(0%, 18.4%, 80.1%, 44.7%)
CIE-LABlab(49.51, 1.14, 48.39)
CIE-LCHlch(49.51, 48.40, 88.65°)
OKLaboklab(56.52% -0.0021 0.1054)
OKLCHoklch(56.52% 0.105 91.2)
XYZxyz(17.3259, 18.0091, 3.6619)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D731C #1C368D
analogous
#8D3B1C #8D731C #6E8D1C
triadic
#8D731C #1C8D73 #731C8D
tetradic
#8D731C #1C8D3B #1C368D #8D1C6E
square
#8D731C #1C8D3B #1C368D #8D1C6E
split-complementary
#8D731C #1C6E8D #3B1C8D
monochromatic
#272008 #5A4912 #8D731C #C09D26 #DBB949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D731C#FFFFFF#000000##000000
##8D731C1.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)
#81710A
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#996962
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d731c;
/* rgb */ color: rgb(141, 115, 28);
/* oklch */ color: oklch(56.5% 0.105 91.2);
Tailwind
colors: {
  custom: {
    50: '#b29a60',
    500: '#8d731c',
    950: '#000000',
  },
}
SCSS
$custom: #8d731c;
$custom-light: #b29a60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d731c",
  "rgb": {
    "r": 141,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 46.195,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.10537,
    "h": 91.2
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#8D731C
secondary
#4863BD
accent
#66EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D731C

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

Preview Lab → · Contrast checker → · Palette generator →

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