#8F741F#8F741F

#8F741F is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 57.0% C 0.105 H 90.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8F741F
RGBrgb(143, 116, 31)
HSLhsl(46, 64%, 34%)
HSVhsv(46, 78%, 56%)
CMYKcmyk(0%, 18.9%, 78.3%, 43.9%)
CIE-LABlab(50.01, 1.64, 47.81)
CIE-LCHlch(50.01, 47.84, 88.04°)
OKLaboklab(56.97% -0.0005 0.1047)
OKLCHoklch(56.97% 0.105 90.3)
XYZxyz(17.8215, 18.4305, 3.9148)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F741F #1F3A8F
analogous
#8F3C1F #8F741F #728F1F
triadic
#8F741F #1F8F74 #741F8F
tetradic
#8F741F #1F8F3C #1F3A8F #8F1F72
square
#8F741F #1F8F3C #1F3A8F #8F1F72
split-complementary
#8F741F #1F728F #3C1F8F
monochromatic
#2A2209 #5D4B14 #8F741F #C19D2A #D9B84F

Accessibility & contrast

On white

4.48
#8F741F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8F741F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F741F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F741F#FFFFFF#000000##000000
##8F741F1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#9B6A64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f741f;
/* rgb */ color: rgb(143, 116, 31);
/* oklch */ color: oklch(57.0% 0.105 90.3);
Tailwind
colors: {
  custom: {
    50: '#b49b62',
    500: '#8f741f',
    950: '#000000',
  },
}
SCSS
$custom: #8f741f;
$custom-light: #b49b62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f741f",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 45.536,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.10467,
    "h": 90.3
  },
  "luminance": 0.18429
}

Semantic roles & 50–950 ramp

primary
#8F741F
secondary
#4E68BC
accent
#69E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #8F741F

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

Preview Lab → · Contrast checker → · Palette generator →

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