#8C851A#8C851A

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

Color values

HEX#8C851A
RGBrgb(140, 133, 26)
HSLhsl(56, 69%, 33%)
HSVhsv(56, 81%, 55%)
CMYKcmyk(0%, 5%, 81.4%, 45.1%)
CIE-LABlab(54.48, -9.44, 53.49)
CIE-LCHlch(54.48, 54.31, 100.00°)
OKLaboklab(60.43% -0.0321 0.1159)
OKLCHoklch(60.43% 0.12 105.5)
XYZxyz(19.3901, 22.4259, 4.2843)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C851A #1A218C
analogous
#8C4C1A #8C851A #5A8C1A
triadic
#8C851A #1A8C85 #851A8C
tetradic
#8C851A #1A8C4C #1A218C #8C1A5A
square
#8C851A #1A8C4C #1A218C #8C1A5A
split-complementary
#8C851A #1A5A8C #4C1A8C
monochromatic
#252307 #585410 #8C851A #C0B624 #DCD344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C851A#FFFFFF#000000##000000
##8C851A1.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)
#918000
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#977B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8c851a;
/* rgb */ color: rgb(140, 133, 26);
/* oklch */ color: oklch(60.4% 0.120 105.5);
Tailwind
colors: {
  custom: {
    50: '#b1a861',
    500: '#8c851a',
    950: '#000000',
  },
}
SCSS
$custom: #8c851a;
$custom-light: #b1a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8c851a",
  "rgb": {
    "r": 140,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 56.316,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.1203,
    "h": 105.5
  },
  "luminance": 0.22425
}

Semantic roles & 50–950 ramp

primary
#8C851A
secondary
#444CBE
accent
#47EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8C851A

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

Preview Lab → · Contrast checker → · Palette generator →

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