#8D841E#8D841E

#8D841E is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.117 H 104.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8D841E
RGBrgb(141, 132, 30)
HSLhsl(55, 65%, 34%)
HSVhsv(55, 79%, 55%)
CMYKcmyk(0%, 6.4%, 78.7%, 44.7%)
CIE-LABlab(54.30, -8.27, 52.07)
CIE-LCHlch(54.30, 52.72, 99.03°)
OKLaboklab(60.32% -0.0286 0.1137)
OKLCHoklch(60.32% 0.117 104.1)
XYZxyz(19.4710, 22.2598, 4.4990)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D841E #1E278D
analogous
#8D4C1E #8D841E #5E8D1E
triadic
#8D841E #1E8D84 #841E8D
tetradic
#8D841E #1E8D4C #1E278D #8D1E5E
square
#8D841E #1E8D4C #1E278D #8D1E5E
split-complementary
#8D841E #1E5E8D #4C1E8D
monochromatic
#282609 #5B5513 #8D841E #BFB329 #D9CE4C

Accessibility & contrast

On white

3.85
#8D841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8D841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D841E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D841E#FFFFFF#000000##000000
##8D841E1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d841e;
/* rgb */ color: rgb(141, 132, 30);
/* oklch */ color: oklch(60.3% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#b2a763',
    500: '#8d841e',
    950: '#000000',
  },
}
SCSS
$custom: #8d841e;
$custom-light: #b2a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8d841e",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 55.135,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60322,
    "c": 0.11719,
    "h": 104.1
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#8D841E
secondary
#4B54BC
accent
#4EE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D841E

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

Preview Lab → · Contrast checker → · Palette generator →

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