#8C811C#8C811C

#8C811C is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.116 H 102.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8C811C
RGBrgb(140, 129, 28)
HSLhsl(54, 67%, 33%)
HSVhsv(54, 80%, 55%)
CMYKcmyk(0%, 7.9%, 80%, 45.1%)
CIE-LABlab(53.34, -7.17, 51.83)
CIE-LCHlch(53.34, 52.33, 97.88°)
OKLaboklab(59.53% -0.0256 0.1128)
OKLCHoklch(59.53% 0.116 102.8)
XYZxyz(18.8760, 21.3606, 4.2271)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C811C #1C278C
analogous
#8C491C #8C811C #5F8C1C
triadic
#8C811C #1C8C81 #811C8C
tetradic
#8C811C #1C8C49 #1C278C #8C1C5F
square
#8C811C #1C8C49 #1C278C #8C1C5F
split-complementary
#8C811C #1C5F8C #491C8C
monochromatic
#262308 #595212 #8C811C #BFB026 #DACC48

Accessibility & contrast

On white

3.98
#8C811C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8C811C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C811C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C811C#FFFFFF#000000##000000
##8C811C1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D02
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#97776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c811c;
/* rgb */ color: rgb(140, 129, 28);
/* oklch */ color: oklch(59.5% 0.116 102.8);
Tailwind
colors: {
  custom: {
    50: '#b1a562',
    500: '#8c811c',
    950: '#000000',
  },
}
SCSS
$custom: #8c811c;
$custom-light: #b1a562;
$custom-dark: #000000;
JSON
{
  "hex": "#8c811c",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 54.107,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59533,
    "c": 0.11566,
    "h": 102.8
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#8C811C
secondary
#4853BC
accent
#4FEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8C811C

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

Preview Lab → · Contrast checker → · Palette generator →

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