#8C7E1D#8C7E1D

#8C7E1D is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.113 H 100.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8C7E1D
RGBrgb(140, 126, 29)
HSLhsl(52, 66%, 33%)
HSVhsv(52, 79%, 55%)
CMYKcmyk(0%, 10%, 79.3%, 45.1%)
CIE-LABlab(52.49, -5.47, 50.73)
CIE-LCHlch(52.49, 51.02, 96.16°)
OKLaboklab(58.86% -0.0207 0.1106)
OKLCHoklch(58.86% 0.113 100.6)
XYZxyz(18.4987, 20.5868, 4.1614)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C7E1D #1D2B8C
analogous
#8C461D #8C7E1D #628C1D
triadic
#8C7E1D #1D8C7E #7E1D8C
tetradic
#8C7E1D #1D8C46 #1D2B8C #8C1D62
square
#8C7E1D #1D8C46 #1D2B8C #8C1D62
split-complementary
#8C7E1D #1D628C #461D8C
monochromatic
#272308 #595012 #8C7E1D #BFAC28 #D9C74A

Accessibility & contrast

On white

4.10
#8C7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8C7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C7E1D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C7E1D#FFFFFF#000000##000000
##8C7E1D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#97746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8c7e1d;
/* rgb */ color: rgb(140, 126, 29);
/* oklch */ color: oklch(58.9% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#b1a362',
    500: '#8c7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #8c7e1d;
$custom-light: #b1a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8c7e1d",
  "rgb": {
    "r": 140,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 52.432,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.11255,
    "h": 100.6
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#8C7E1D
secondary
#4958BC
accent
#55E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8C7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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