#8A741F#8A741F

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

Color values

HEX#8A741F
RGBrgb(138, 116, 31)
HSLhsl(48, 63%, 33%)
HSVhsv(48, 78%, 54%)
CMYKcmyk(0%, 15.9%, 77.5%, 45.9%)
CIE-LABlab(49.49, -0.71, 47.13)
CIE-LCHlch(49.49, 47.13, 90.86°)
OKLaboklab(56.44% -0.0069 0.1035)
OKLCHoklch(56.44% 0.104 93.8)
XYZxyz(16.9749, 17.9940, 3.8751)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A741F #1F358A
analogous
#8A3F1F #8A741F #6A8A1F
triadic
#8A741F #1F8A74 #741F8A
tetradic
#8A741F #1F8A3F #1F358A #8A1F6A
square
#8A741F #1F8A3F #1F358A #8A1F6A
split-complementary
#8A741F #1F6A8A #3F1F8A
monochromatic
#262009 #584A14 #8A741F #BC9E2A #D7BA4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A741F#FFFFFF#000000##000000
##8A741F1.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)
#817210
Deuteranopia (green-blind)
#877824
Tritanopia (blue-blind)
#966A64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a741f;
/* rgb */ color: rgb(138, 116, 31);
/* oklch */ color: oklch(56.4% 0.104 93.8);
Tailwind
colors: {
  custom: {
    50: '#b09b61',
    500: '#8a741f',
    950: '#000000',
  },
}
SCSS
$custom: #8a741f;
$custom-light: #b09b61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a741f",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 47.664,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.10369,
    "h": 93.8
  },
  "luminance": 0.17993
}

Semantic roles & 50–950 ramp

primary
#8A741F
secondary
#4B62BA
accent
#63E641
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A741F

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

Preview Lab → · Contrast checker → · Palette generator →

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