#8C7E1E#8C7E1E

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

Color values

HEX#8C7E1E
RGBrgb(140, 126, 30)
HSLhsl(52, 65%, 33%)
HSVhsv(52, 79%, 55%)
CMYKcmyk(0%, 10%, 78.6%, 45.1%)
CIE-LABlab(52.50, -5.43, 50.38)
CIE-LCHlch(52.50, 50.67, 96.15°)
OKLaboklab(58.87% -0.0205 0.1101)
OKLCHoklch(58.87% 0.112 100.6)
XYZxyz(18.5113, 20.5918, 4.2276)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C7E1E #1E2C8C
analogous
#8C471E #8C7E1E #638C1E
triadic
#8C7E1E #1E8C7E #7E1E8C
tetradic
#8C7E1E #1E8C47 #1E2C8C #8C1E63
square
#8C7E1E #1E8C47 #1E2C8C #8C1E63
split-complementary
#8C7E1E #1E638C #471E8C
monochromatic
#272308 #5A5113 #8C7E1E #BEAB29 #D9C74C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C7E1E#FFFFFF#000000##000000
##8C7E1E1.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)
#8B7A09
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#97746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8c7e1e;
/* rgb */ color: rgb(140, 126, 30);
/* oklch */ color: oklch(58.9% 0.112 100.6);
Tailwind
colors: {
  custom: {
    50: '#b1a362',
    500: '#8c7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8c7e1e;
$custom-light: #b1a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8c7e1e",
  "rgb": {
    "r": 140,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 52.364,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58868,
    "c": 0.11199,
    "h": 100.6
  },
  "luminance": 0.20591
}

Semantic roles & 50–950 ramp

primary
#8C7E1E
secondary
#4B59BB
accent
#55E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8C7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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