#8B781D#8B781D

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

Color values

HEX#8B781D
RGBrgb(139, 120, 29)
HSLhsl(50, 65%, 33%)
HSVhsv(50, 79%, 55%)
CMYKcmyk(0%, 13.7%, 79.1%, 45.5%)
CIE-LABlab(50.70, -2.59, 49.04)
CIE-LCHlch(50.70, 49.11, 93.02°)
OKLaboklab(57.42% -0.0125 0.1071)
OKLCHoklch(57.42% 0.108 96.7)
XYZxyz(17.5866, 19.0116, 3.9054)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B781D #1D308B
analogous
#8B411D #8B781D #678B1D
triadic
#8B781D #1D8B78 #781D8B
tetradic
#8B781D #1D8B41 #1D308B #8B1D67
square
#8B781D #1D8B41 #1D308B #8B1D67
split-complementary
#8B781D #1D678B #411D8B
monochromatic
#262108 #584C12 #8B781D #BEA428 #D9C049

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B781D#FFFFFF#000000##000000
##8B781D1.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)
#85750A
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#976E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b781d;
/* rgb */ color: rgb(139, 120, 29);
/* oklch */ color: oklch(57.4% 0.108 96.7);
Tailwind
colors: {
  custom: {
    50: '#b19e61',
    500: '#8b781d',
    950: '#000000',
  },
}
SCSS
$custom: #8b781d;
$custom-light: #b19e61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b781d",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 49.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.10781,
    "h": 96.7
  },
  "luminance": 0.19011
}

Semantic roles & 50–950 ramp

primary
#8B781D
secondary
#495CBB
accent
#5DE83F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B781D

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

Preview Lab → · Contrast checker → · Palette generator →

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