#8C811D#8C811D

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

Color values

HEX#8C811D
RGBrgb(140, 129, 29)
HSLhsl(54, 66%, 33%)
HSVhsv(54, 79%, 55%)
CMYKcmyk(0%, 7.9%, 79.3%, 45.1%)
CIE-LABlab(53.35, -7.13, 51.50)
CIE-LCHlch(53.35, 51.99, 97.88°)
OKLaboklab(59.54% -0.0254 0.1123)
OKLCHoklch(59.54% 0.115 102.8)
XYZxyz(18.8881, 21.3655, 4.2912)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C811D #1D288C
analogous
#8C491D #8C811D #5F8C1D
triadic
#8C811D #1D8C81 #811D8C
tetradic
#8C811D #1D8C49 #1D288C #8C1D5F
square
#8C811D #1D8C49 #1D288C #8C1D5F
split-complementary
#8C811D #1D5F8C #491D8C
monochromatic
#272408 #595212 #8C811D #BFB028 #D9CB4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C811D#FFFFFF#000000##000000
##8C811D1.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)
#8E7D04
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#97776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c811d;
/* rgb */ color: rgb(140, 129, 29);
/* oklch */ color: oklch(59.5% 0.115 102.8);
Tailwind
colors: {
  custom: {
    50: '#b1a562',
    500: '#8c811d',
    950: '#000000',
  },
}
SCSS
$custom: #8c811d;
$custom-light: #b1a562;
$custom-dark: #000000;
JSON
{
  "hex": "#8c811d",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 54.054,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.11513,
    "h": 102.8
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#8C811D
secondary
#4954BC
accent
#50E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C811D

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

Preview Lab → · Contrast checker → · Palette generator →

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