#8C851D#8C851D

#8C851D is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.119 H 105.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8C851D
RGBrgb(140, 133, 29)
HSLhsl(56, 66%, 33%)
HSVhsv(56, 79%, 55%)
CMYKcmyk(0%, 5%, 79.3%, 45.1%)
CIE-LABlab(54.49, -9.32, 52.54)
CIE-LCHlch(54.49, 53.36, 100.06°)
OKLaboklab(60.45% -0.0316 0.1145)
OKLCHoklch(60.45% 0.119 105.4)
XYZxyz(19.4254, 22.4400, 4.4703)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C851D #1D248C
analogous
#8C4D1D #8C851D #5B8C1D
triadic
#8C851D #1D8C85 #851D8C
tetradic
#8C851D #1D8C4D #1D248C #8C1D5B
square
#8C851D #1D8C4D #1D248C #8C1D5B
split-complementary
#8C851D #1D5B8C #4D1D8C
monochromatic
#272508 #595512 #8C851D #BFB528 #D9D04A

Accessibility & contrast

On white

3.83
#8C851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8C851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C851D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C851D#FFFFFF#000000##000000
##8C851D1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918002
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#977B72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8c851d;
/* rgb */ color: rgb(140, 133, 29);
/* oklch */ color: oklch(60.4% 0.119 105.4);
Tailwind
colors: {
  custom: {
    50: '#b1a863',
    500: '#8c851d',
    950: '#000000',
  },
}
SCSS
$custom: #8c851d;
$custom-light: #b1a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8c851d",
  "rgb": {
    "r": 140,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 56.216,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.11878,
    "h": 105.4
  },
  "luminance": 0.22439
}

Semantic roles & 50–950 ramp

primary
#8C851D
secondary
#4950BC
accent
#4AE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C851D

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

Preview Lab → · Contrast checker → · Palette generator →

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