#8D781E#8D781E

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

Color values

HEX#8D781E
RGBrgb(141, 120, 30)
HSLhsl(49, 65%, 34%)
HSVhsv(49, 79%, 55%)
CMYKcmyk(0%, 14.9%, 78.7%, 44.7%)
CIE-LABlab(50.91, -1.61, 48.94)
CIE-LCHlch(50.91, 48.97, 91.88°)
OKLaboklab(57.63% -0.0098 0.107)
OKLCHoklch(57.63% 0.107 95.2)
XYZxyz(17.9363, 19.1904, 3.9874)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D781E #1E338D
analogous
#8D401E #8D781E #6A8D1E
triadic
#8D781E #1E8D78 #781E8D
tetradic
#8D781E #1E8D40 #1E338D #8D1E6A
square
#8D781E #1E8D40 #1E338D #8D1E6A
split-complementary
#8D781E #1E6A8D #401E8D
monochromatic
#282209 #5B4D13 #8D781E #BFA329 #D9BE4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D781E#FFFFFF#000000##000000
##8D781E1.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)
#85750C
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#996E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d781e;
/* rgb */ color: rgb(141, 120, 30);
/* oklch */ color: oklch(57.6% 0.107 95.2);
Tailwind
colors: {
  custom: {
    50: '#b29e62',
    500: '#8d781e',
    950: '#000000',
  },
}
SCSS
$custom: #8d781e;
$custom-light: #b29e62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d781e",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 48.649,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57631,
    "c": 0.10743,
    "h": 95.2
  },
  "luminance": 0.19189
}

Semantic roles & 50–950 ramp

primary
#8D781E
secondary
#4B60BC
accent
#60E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D781E

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

Preview Lab → · Contrast checker → · Palette generator →

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