#8A741D#8A741D

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

Color values

HEX#8A741D
RGBrgb(138, 116, 29)
HSLhsl(48, 65%, 33%)
HSVhsv(48, 79%, 54%)
CMYKcmyk(0%, 15.9%, 79%, 45.9%)
CIE-LABlab(49.48, -0.79, 47.87)
CIE-LCHlch(49.48, 47.88, 90.95°)
OKLaboklab(56.42% -0.0074 0.1046)
OKLCHoklch(56.42% 0.105 94)
XYZxyz(16.9493, 17.9838, 3.7406)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A741D #1D338A
analogous
#8A3E1D #8A741D #698A1D
triadic
#8A741D #1D8A74 #741D8A
tetradic
#8A741D #1D8A3E #1D338A #8A1D69
square
#8A741D #1D8A3E #1D338A #8A1D69
split-complementary
#8A741D #1D698A #3E1D8A
monochromatic
#251F08 #574912 #8A741D #BD9F28 #D9BC49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A741D#FFFFFF#000000##000000
##8A741D1.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)
#81720C
Deuteranopia (green-blind)
#877823
Tritanopia (blue-blind)
#966A63
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a741d;
/* rgb */ color: rgb(138, 116, 29);
/* oklch */ color: oklch(56.4% 0.105 94.0);
Tailwind
colors: {
  custom: {
    50: '#b09b60',
    500: '#8a741d',
    950: '#000000',
  },
}
SCSS
$custom: #8a741d;
$custom-light: #b09b60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a741d",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 47.89,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.10489,
    "h": 94
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#8A741D
secondary
#485FBB
accent
#62E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A741D

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

Preview Lab → · Contrast checker → · Palette generator →

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