#8D741B#8D741B

#8D741B is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.106 H 92.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8D741B
RGBrgb(141, 116, 27)
HSLhsl(47, 68%, 33%)
HSVhsv(47, 81%, 55%)
CMYKcmyk(0%, 17.7%, 80.9%, 44.7%)
CIE-LABlab(49.78, 0.53, 48.99)
CIE-LCHlch(49.78, 49.00, 89.38°)
OKLaboklab(56.73% -0.004 0.1064)
OKLCHoklch(56.73% 0.107 92.1)
XYZxyz(17.4287, 18.2337, 3.6382)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D741B #1B348D
analogous
#8D3B1B #8D741B #6D8D1B
triadic
#8D741B #1B8D74 #741B8D
tetradic
#8D741B #1B8D3B #1B348D #8D1B6D
square
#8D741B #1B8D3B #1B348D #8D1B6D
split-complementary
#8D741B #1B6D8D #3B1B8D
monochromatic
#261F07 #5A4A11 #8D741B #C09E25 #DCBB47

Accessibility & contrast

On white

4.52
#8D741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8D741B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D741B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D741B#FFFFFF#000000##000000
##8D741B1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#827207
Deuteranopia (green-blind)
#887921
Tritanopia (blue-blind)
#996A63
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d741b;
/* rgb */ color: rgb(141, 116, 27);
/* oklch */ color: oklch(56.7% 0.106 92.1);
Tailwind
colors: {
  custom: {
    50: '#b29b60',
    500: '#8d741b',
    950: '#000000',
  },
}
SCSS
$custom: #8d741b;
$custom-light: #b29b60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d741b",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 46.842,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.1065,
    "h": 92.1
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#8D741B
secondary
#4661BD
accent
#63EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D741B

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

Preview Lab → · Contrast checker → · Palette generator →

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