#8F731D#8F731D

#8F731D is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.105 H 89.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F731D
RGBrgb(143, 115, 29)
HSLhsl(45, 66%, 34%)
HSVhsv(45, 80%, 56%)
CMYKcmyk(0%, 19.6%, 79.7%, 43.9%)
CIE-LABlab(49.73, 2.12, 48.30)
CIE-LCHlch(49.73, 48.34, 87.49°)
OKLaboklab(56.74% 0.0006 0.1053)
OKLCHoklch(56.74% 0.105 89.7)
XYZxyz(17.6813, 18.1910, 3.7421)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F731D #1D398F
analogous
#8F3A1D #8F731D #728F1D
triadic
#8F731D #1D8F73 #731D8F
tetradic
#8F731D #1D8F3A #1D398F #8F1D72
square
#8F731D #1D8F3A #1D398F #8F1D72
split-complementary
#8F731D #1D728F #3A1D8F
monochromatic
#292108 #5C4A13 #8F731D #C29C27 #DBB84C

Accessibility & contrast

On white

4.53
#8F731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8F731D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F731D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F731D#FFFFFF#000000##000000
##8F731D1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#9B6963
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f731d;
/* rgb */ color: rgb(143, 115, 29);
/* oklch */ color: oklch(56.7% 0.105 89.7);
Tailwind
colors: {
  custom: {
    50: '#b49a60',
    500: '#8f731d',
    950: '#000000',
  },
}
SCSS
$custom: #8f731d;
$custom-light: #b49a60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f731d",
  "rgb": {
    "r": 143,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 45.263,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.10528,
    "h": 89.7
  },
  "luminance": 0.1819
}

Semantic roles & 50–950 ramp

primary
#8F731D
secondary
#4B67BD
accent
#68E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F731D

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

Preview Lab → · Contrast checker → · Palette generator →

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