#8E781D#8E781D

#8E781D is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.108 H 94.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E781D
RGBrgb(142, 120, 29)
HSLhsl(48, 66%, 34%)
HSVhsv(48, 80%, 56%)
CMYKcmyk(0%, 15.5%, 79.6%, 44.3%)
CIE-LABlab(51.01, -1.18, 49.44)
CIE-LCHlch(51.01, 49.45, 91.37°)
OKLaboklab(57.73% -0.0087 0.1078)
OKLCHoklch(57.73% 0.108 94.6)
XYZxyz(18.0946, 19.2735, 3.9292)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E781D #1D338E
analogous
#8E3F1D #8E781D #6B8E1D
triadic
#8E781D #1D8E78 #781D8E
tetradic
#8E781D #1D8E3F #1D338E #8E1D6B
square
#8E781D #1D8E3F #1D338E #8E1D6B
split-complementary
#8E781D #1D6B8E #3F1D8E
monochromatic
#282208 #5B4D13 #8E781D #C1A327 #DABE4B

Accessibility & contrast

On white

4.33
#8E781D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8E781D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E781D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E781D#FFFFFF#000000##000000
##8E781D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857609
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#9A6E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e781d;
/* rgb */ color: rgb(142, 120, 29);
/* oklch */ color: oklch(57.7% 0.108 94.6);
Tailwind
colors: {
  custom: {
    50: '#b39e61',
    500: '#8e781d',
    950: '#000000',
  },
}
SCSS
$custom: #8e781d;
$custom-light: #b39e61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e781d",
  "rgb": {
    "r": 142,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 48.319,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.10812,
    "h": 94.6
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#8E781D
secondary
#4A60BD
accent
#60E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E781D

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

Preview Lab → · Contrast checker → · Palette generator →

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