#8C781E#8C781E

#8C781E is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.107 H 95.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8C781E
RGBrgb(140, 120, 30)
HSLhsl(49, 65%, 33%)
HSVhsv(49, 79%, 55%)
CMYKcmyk(0%, 14.3%, 78.6%, 45.1%)
CIE-LABlab(50.81, -2.08, 48.81)
CIE-LCHlch(50.81, 48.86, 92.44°)
OKLaboklab(57.53% -0.011 0.1068)
OKLCHoklch(57.53% 0.107 95.9)
XYZxyz(17.7670, 19.1031, 3.9795)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C781E #1E328C
analogous
#8C411E #8C781E #698C1E
triadic
#8C781E #1E8C78 #781E8C
tetradic
#8C781E #1E8C41 #1E328C #8C1E69
square
#8C781E #1E8C41 #1E328C #8C1E69
split-complementary
#8C781E #1E698C #411E8C
monochromatic
#272208 #5A4D13 #8C781E #BEA329 #D9BF4C

Accessibility & contrast

On white

4.36
#8C781E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8C781E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C781E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C781E#FFFFFF#000000##000000
##8C781E1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#986E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8c781e;
/* rgb */ color: rgb(140, 120, 30);
/* oklch */ color: oklch(57.5% 0.107 95.9);
Tailwind
colors: {
  custom: {
    50: '#b19e62',
    500: '#8c781e',
    950: '#000000',
  },
}
SCSS
$custom: #8c781e;
$custom-light: #b19e62;
$custom-dark: #000000;
JSON
{
  "hex": "#8c781e",
  "rgb": {
    "r": 140,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 49.091,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.10732,
    "h": 95.9
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#8C781E
secondary
#4B5FBB
accent
#5FE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8C781E

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

Preview Lab → · Contrast checker → · Palette generator →

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