#8D731A#8D731A

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

Color values

HEX#8D731A
RGBrgb(141, 115, 26)
HSLhsl(46, 69%, 33%)
HSVhsv(46, 82%, 55%)
CMYKcmyk(0%, 18.4%, 81.6%, 44.7%)
CIE-LABlab(49.50, 1.06, 49.09)
CIE-LCHlch(49.50, 49.10, 88.76°)
OKLaboklab(56.51% -0.0026 0.1064)
OKLCHoklch(56.51% 0.106 91.4)
XYZxyz(17.3027, 17.9999, 3.5401)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D731A #1A348D
analogous
#8D3A1A #8D731A #6D8D1A
triadic
#8D731A #1A8D73 #731A8D
tetradic
#8D731A #1A8D3A #1A348D #8D1A6D
square
#8D731A #1A8D3A #1A348D #8D1A6D
split-complementary
#8D731A #1A6D8D #3A1A8D
monochromatic
#261F07 #594910 #8D731A #C19D24 #DDBA45

Accessibility & contrast

On white

4.57
#8D731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D731A#FFFFFF#000000##000000
##8D731A1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#877920
Tritanopia (blue-blind)
#996962
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d731a;
/* rgb */ color: rgb(141, 115, 26);
/* oklch */ color: oklch(56.5% 0.106 91.4);
Tailwind
colors: {
  custom: {
    50: '#b29a5f',
    500: '#8d731a',
    950: '#000000',
  },
}
SCSS
$custom: #8d731a;
$custom-light: #b29a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d731a",
  "rgb": {
    "r": 141,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 46.435,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.10645,
    "h": 91.4
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#8D731A
secondary
#4560BE
accent
#64EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D731A

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

Preview Lab → · Contrast checker → · Palette generator →

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