#8C841E#8C841E

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

Color values

HEX#8C841E
RGBrgb(140, 132, 30)
HSLhsl(56, 65%, 33%)
HSVhsv(56, 79%, 55%)
CMYKcmyk(0%, 5.7%, 78.6%, 45.1%)
CIE-LABlab(54.21, -8.73, 51.95)
CIE-LCHlch(54.21, 52.68, 99.54°)
OKLaboklab(60.23% -0.0298 0.1134)
OKLCHoklch(60.23% 0.117 104.7)
XYZxyz(19.3017, 22.1725, 4.4911)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C841E #1E268C
analogous
#8C4D1E #8C841E #5D8C1E
triadic
#8C841E #1E8C84 #841E8C
tetradic
#8C841E #1E8C4D #1E268C #8C1E5D
square
#8C841E #1E8C4D #1E268C #8C1E5D
split-complementary
#8C841E #1E5D8C #4D1E8C
monochromatic
#272508 #5A5413 #8C841E #BEB429 #D9CE4C

Accessibility & contrast

On white

3.86
#8C841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C841E#FFFFFF#000000##000000
##8C841E1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c841e;
/* rgb */ color: rgb(140, 132, 30);
/* oklch */ color: oklch(60.2% 0.117 104.7);
Tailwind
colors: {
  custom: {
    50: '#b1a763',
    500: '#8c841e',
    950: '#000000',
  },
}
SCSS
$custom: #8c841e;
$custom-light: #b1a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8c841e",
  "rgb": {
    "r": 140,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 55.636,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.11729,
    "h": 104.7
  },
  "luminance": 0.22172
}

Semantic roles & 50–950 ramp

primary
#8C841E
secondary
#4B53BB
accent
#4CE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C841E

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

Preview Lab → · Contrast checker → · Palette generator →

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