#8D841C#8D841C

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

Color values

HEX#8D841C
RGBrgb(141, 132, 28)
HSLhsl(55, 67%, 33%)
HSVhsv(55, 80%, 55%)
CMYKcmyk(0%, 6.4%, 80.1%, 44.7%)
CIE-LABlab(54.29, -8.35, 52.72)
CIE-LCHlch(54.29, 53.38, 99.00°)
OKLaboklab(60.31% -0.029 0.1147)
OKLCHoklch(60.31% 0.118 104.2)
XYZxyz(19.4462, 22.2499, 4.3687)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D841C #1C258D
analogous
#8D4B1C #8D841C #5D8D1C
triadic
#8D841C #1C8D84 #841C8D
tetradic
#8D841C #1C8D4B #1C258D #8D1C5D
square
#8D841C #1C8D4B #1C258D #8D1C5D
split-complementary
#8D841C #1C5D8D #4B1C8D
monochromatic
#272408 #5A5412 #8D841C #C0B426 #DBCF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D841C#FFFFFF#000000##000000
##8D841C1.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)
#917F00
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#987A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d841c;
/* rgb */ color: rgb(141, 132, 28);
/* oklch */ color: oklch(60.3% 0.118 104.2);
Tailwind
colors: {
  custom: {
    50: '#b2a762',
    500: '#8d841c',
    950: '#000000',
  },
}
SCSS
$custom: #8d841c;
$custom-light: #b2a762;
$custom-dark: #000000;
JSON
{
  "hex": "#8d841c",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 55.221,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.6031,
    "c": 0.11826,
    "h": 104.2
  },
  "luminance": 0.22249
}

Semantic roles & 50–950 ramp

primary
#8D841C
secondary
#4851BD
accent
#4CEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D841C

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

Preview Lab → · Contrast checker → · Palette generator →

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