#8C841C#8C841C

#8C841C is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.118 H 104.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8C841C
RGBrgb(140, 132, 28)
HSLhsl(56, 67%, 33%)
HSVhsv(56, 80%, 55%)
CMYKcmyk(0%, 5.7%, 80%, 45.1%)
CIE-LABlab(54.20, -8.82, 52.61)
CIE-LCHlch(54.20, 53.34, 99.51°)
OKLaboklab(60.22% -0.0302 0.1144)
OKLCHoklch(60.22% 0.118 104.8)
XYZxyz(19.2769, 22.1626, 4.3608)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C841C #1C248C
analogous
#8C4C1C #8C841C #5C8C1C
triadic
#8C841C #1C8C84 #841C8C
tetradic
#8C841C #1C8C4C #1C248C #8C1C5C
square
#8C841C #1C8C4C #1C248C #8C1C5C
split-complementary
#8C841C #1C5C8C #4C1C8C
monochromatic
#262408 #595412 #8C841C #BFB426 #DAD048

Accessibility & contrast

On white

3.87
#8C841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8C841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C841C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C841C#FFFFFF#000000##000000
##8C841C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#977A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8c841c;
/* rgb */ color: rgb(140, 132, 28);
/* oklch */ color: oklch(60.2% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#b1a762',
    500: '#8c841c',
    950: '#000000',
  },
}
SCSS
$custom: #8c841c;
$custom-light: #b1a762;
$custom-dark: #000000;
JSON
{
  "hex": "#8c841c",
  "rgb": {
    "r": 140,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 55.714,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60215,
    "c": 0.11837,
    "h": 104.8
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

primary
#8C841C
secondary
#4850BC
accent
#4AEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C841C

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

Preview Lab → · Contrast checker → · Palette generator →

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