#8C851E#8C851E

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

Color values

HEX#8C851E
RGBrgb(140, 133, 30)
HSLhsl(56, 65%, 33%)
HSVhsv(56, 79%, 55%)
CMYKcmyk(0%, 5%, 78.6%, 45.1%)
CIE-LABlab(54.50, -9.28, 52.21)
CIE-LCHlch(54.50, 53.03, 100.08°)
OKLaboklab(60.46% -0.0314 0.114)
OKLCHoklch(60.46% 0.118 105.4)
XYZxyz(19.4379, 22.4450, 4.5365)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C851E #1E258C
analogous
#8C4E1E #8C851E #5C8C1E
triadic
#8C851E #1E8C85 #851E8C
tetradic
#8C851E #1E8C4E #1E258C #8C1E5C
square
#8C851E #1E8C4E #1E258C #8C1E5C
split-complementary
#8C851E #1E5C8C #4E1E8C
monochromatic
#272508 #5A5513 #8C851E #BEB529 #D9D04C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C851E#FFFFFF#000000##000000
##8C851E1.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)
#918004
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#977B72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8c851e;
/* rgb */ color: rgb(140, 133, 30);
/* oklch */ color: oklch(60.5% 0.118 105.4);
Tailwind
colors: {
  custom: {
    50: '#b1a863',
    500: '#8c851e',
    950: '#000000',
  },
}
SCSS
$custom: #8c851e;
$custom-light: #b1a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8c851e",
  "rgb": {
    "r": 140,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 56.182,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.11823,
    "h": 105.4
  },
  "luminance": 0.22444
}

Semantic roles & 50–950 ramp

primary
#8C851E
secondary
#4B52BB
accent
#4BE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C851E

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

Preview Lab → · Contrast checker → · Palette generator →

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