#8C741B#8C741B

#8C741B is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.6% C 0.106 H 92.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8C741B
RGBrgb(140, 116, 27)
HSLhsl(47, 68%, 33%)
HSVhsv(47, 81%, 55%)
CMYKcmyk(0%, 17.1%, 80.7%, 45.1%)
CIE-LABlab(49.67, 0.06, 48.86)
CIE-LCHlch(49.67, 48.86, 89.92°)
OKLaboklab(56.62% -0.0053 0.1062)
OKLCHoklch(56.62% 0.106 92.8)
XYZxyz(17.2594, 18.1464, 3.6302)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C741B #1B338C
analogous
#8C3C1B #8C741B #6B8C1B
triadic
#8C741B #1B8C74 #741B8C
tetradic
#8C741B #1B8C3C #1B338C #8C1B6B
square
#8C741B #1B8C3C #1B338C #8C1B6B
split-complementary
#8C741B #1B6B8C #3C1B8C
monochromatic
#251F07 #594911 #8C741B #BF9F25 #DBBC46

Accessibility & contrast

On white

4.54
#8C741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8C741B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C741B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C741B#FFFFFF#000000##000000
##8C741B1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c741b;
/* rgb */ color: rgb(140, 116, 27);
/* oklch */ color: oklch(56.6% 0.106 92.8);
Tailwind
colors: {
  custom: {
    50: '#b29b60',
    500: '#8c741b',
    950: '#000000',
  },
}
SCSS
$custom: #8c741b;
$custom-light: #b29b60;
$custom-dark: #000000;
JSON
{
  "hex": "#8c741b",
  "rgb": {
    "r": 140,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 47.257,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.10633,
    "h": 92.8
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#8C741B
secondary
#465FBD
accent
#62EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8C741B

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

Preview Lab → · Contrast checker → · Palette generator →

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