#8D781D#8D781D

#8D781D is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.108 H 95.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D781D
RGBrgb(141, 120, 29)
HSLhsl(49, 66%, 33%)
HSVhsv(49, 79%, 55%)
CMYKcmyk(0%, 14.9%, 79.4%, 44.7%)
CIE-LABlab(50.90, -1.65, 49.30)
CIE-LCHlch(50.90, 49.33, 91.92°)
OKLaboklab(57.62% -0.01 0.1075)
OKLCHoklch(57.62% 0.108 95.3)
XYZxyz(17.9237, 19.1854, 3.9212)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D781D #1D328D
analogous
#8D401D #8D781D #6A8D1D
triadic
#8D781D #1D8D78 #781D8D
tetradic
#8D781D #1D8D40 #1D328D #8D1D6A
square
#8D781D #1D8D40 #1D328D #8D1D6A
split-complementary
#8D781D #1D6A8D #401D8D
monochromatic
#272208 #5A4D13 #8D781D #C0A327 #DABF4B

Accessibility & contrast

On white

4.34
#8D781D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8D781D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D781D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D781D#FFFFFF#000000##000000
##8D781D1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857509
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#996E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d781d;
/* rgb */ color: rgb(141, 120, 29);
/* oklch */ color: oklch(57.6% 0.108 95.3);
Tailwind
colors: {
  custom: {
    50: '#b29e61',
    500: '#8d781d',
    950: '#000000',
  },
}
SCSS
$custom: #8d781d;
$custom-light: #b29e61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d781d",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 48.75,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.108,
    "h": 95.3
  },
  "luminance": 0.19184
}

Semantic roles & 50–950 ramp

primary
#8D781D
secondary
#4A5FBC
accent
#5FE93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D781D

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

Preview Lab → · Contrast checker → · Palette generator →

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