#8D782F#8D782F

#8D782F is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.095 H 93.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8D782F
RGBrgb(141, 120, 47)
HSLhsl(47, 50%, 37%)
HSVhsv(47, 67%, 55%)
CMYKcmyk(0%, 14.9%, 66.7%, 44.7%)
CIE-LABlab(51.04, -0.69, 41.85)
CIE-LCHlch(51.04, 41.86, 90.94°)
OKLaboklab(57.77% -0.0051 0.0952)
OKLCHoklch(57.77% 0.095 93.1)
XYZxyz(18.2149, 19.3019, 5.4550)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D782F #2F448D
analogous
#8D492F #8D782F #738D2F
triadic
#8D782F #2F8D78 #782F8D
tetradic
#8D782F #2F8D49 #2F448D #8D2F73
square
#8D782F #2F8D49 #2F448D #8D2F73
split-complementary
#8D782F #2F738D #492F8D
monochromatic
#312A10 #5F5120 #8D782F #BB9F3E #CDB769

Accessibility & contrast

On white

4.32
#8D782F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8D782F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D782F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D782F#FFFFFF#000000##000000
##8D782F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#847627
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#986F68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d782f;
/* rgb */ color: rgb(141, 120, 47);
/* oklch */ color: oklch(57.8% 0.095 93.1);
Tailwind
colors: {
  custom: {
    50: '#b19e6b',
    500: '#8d782f',
    950: '#000000',
  },
}
SCSS
$custom: #8d782f;
$custom-light: #b19e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d782f",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 46.596,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.09535,
    "h": 93.1
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#8D782F
secondary
#6476B4
accent
#6DDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D782F

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

Preview Lab → · Contrast checker → · Palette generator →

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