#8A741C#8A741C

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

Color values

HEX#8A741C
RGBrgb(138, 116, 28)
HSLhsl(48, 66%, 33%)
HSVhsv(48, 80%, 54%)
CMYKcmyk(0%, 15.9%, 79.7%, 45.9%)
CIE-LABlab(49.47, -0.83, 48.24)
CIE-LCHlch(49.47, 48.24, 90.99°)
OKLaboklab(56.42% -0.0076 0.1052)
OKLCHoklch(56.42% 0.105 94.1)
XYZxyz(16.9372, 17.9789, 3.6765)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A741C #1C328A
analogous
#8A3D1C #8A741C #698A1C
triadic
#8A741C #1C8A74 #741C8A
tetradic
#8A741C #1C8A3D #1C328A #8A1C69
square
#8A741C #1C8A3D #1C328A #8A1C69
split-complementary
#8A741C #1C698A #3D1C8A
monochromatic
#241E07 #574912 #8A741C #BD9F26 #DABC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A741C#FFFFFF#000000##000000
##8A741C1.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)
#817209
Deuteranopia (green-blind)
#877822
Tritanopia (blue-blind)
#966A63
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a741c;
/* rgb */ color: rgb(138, 116, 28);
/* oklch */ color: oklch(56.4% 0.105 94.1);
Tailwind
colors: {
  custom: {
    50: '#b09b60',
    500: '#8a741c',
    950: '#000000',
  },
}
SCSS
$custom: #8a741c;
$custom-light: #b09b60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a741c",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 48,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56417,
    "c": 0.10546,
    "h": 94.1
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#8A741C
secondary
#465EBB
accent
#61E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A741C

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

Preview Lab → · Contrast checker → · Palette generator →

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