#8B781E#8B781E

#8B781E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.107 H 96.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8B781E
RGBrgb(139, 120, 30)
HSLhsl(50, 64%, 33%)
HSVhsv(50, 78%, 55%)
CMYKcmyk(0%, 13.7%, 78.4%, 45.5%)
CIE-LABlab(50.71, -2.54, 48.68)
CIE-LCHlch(50.71, 48.75, 92.99°)
OKLaboklab(57.42% -0.0123 0.1065)
OKLCHoklch(57.42% 0.107 96.6)
XYZxyz(17.5992, 19.0166, 3.9716)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B781E #1E318B
analogous
#8B411E #8B781E #678B1E
triadic
#8B781E #1E8B78 #781E8B
tetradic
#8B781E #1E8B41 #1E318B #8B1E67
square
#8B781E #1E8B41 #1E318B #8B1E67
split-complementary
#8B781E #1E678B #411E8B
monochromatic
#262108 #594D13 #8B781E #BDA329 #D8C04B

Accessibility & contrast

On white

4.37
#8B781E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8B781E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B781E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B781E#FFFFFF#000000##000000
##8B781E1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b781e;
/* rgb */ color: rgb(139, 120, 30);
/* oklch */ color: oklch(57.4% 0.107 96.6);
Tailwind
colors: {
  custom: {
    50: '#b19e61',
    500: '#8b781e',
    950: '#000000',
  },
}
SCSS
$custom: #8b781e;
$custom-light: #b19e61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b781e",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 49.541,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57423,
    "c": 0.10723,
    "h": 96.6
  },
  "luminance": 0.19016
}

Semantic roles & 50–950 ramp

primary
#8B781E
secondary
#4A5EBB
accent
#5DE740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B781E

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

Preview Lab → · Contrast checker → · Palette generator →

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