#8B741F#8B741F

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

Color values

HEX#8B741F
RGBrgb(139, 116, 31)
HSLhsl(47, 64%, 33%)
HSVhsv(47, 78%, 55%)
CMYKcmyk(0%, 16.5%, 77.7%, 45.5%)
CIE-LABlab(49.59, -0.24, 47.26)
CIE-LCHlch(49.59, 47.26, 90.29°)
OKLaboklab(56.54% -0.0056 0.1037)
OKLCHoklch(56.54% 0.104 93.1)
XYZxyz(17.1411, 18.0797, 3.8829)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B741F #1F368B
analogous
#8B3E1F #8B741F #6C8B1F
triadic
#8B741F #1F8B74 #741F8B
tetradic
#8B741F #1F8B3E #1F368B #8B1F6C
square
#8B741F #1F8B3E #1F368B #8B1F6C
split-complementary
#8B741F #1F6C8B #3E1F8B
monochromatic
#272009 #594A14 #8B741F #BD9E2A #D7BA4D

Accessibility & contrast

On white

4.55
#8B741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8B741F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B741F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B741F#FFFFFF#000000##000000
##8B741F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#976A64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b741f;
/* rgb */ color: rgb(139, 116, 31);
/* oklch */ color: oklch(56.5% 0.104 93.1);
Tailwind
colors: {
  custom: {
    50: '#b19b61',
    500: '#8b741f',
    950: '#000000',
  },
}
SCSS
$custom: #8b741f;
$custom-light: #b19b61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b741f",
  "rgb": {
    "r": 139,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 47.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.10385,
    "h": 93.1
  },
  "luminance": 0.18079
}

Semantic roles & 50–950 ramp

primary
#8B741F
secondary
#4C63BA
accent
#64E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B741F

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

Preview Lab → · Contrast checker → · Palette generator →

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