#8E781E#8E781E

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

Color values

HEX#8E781E
RGBrgb(142, 120, 30)
HSLhsl(48, 65%, 34%)
HSVhsv(48, 79%, 56%)
CMYKcmyk(0%, 15.5%, 78.9%, 44.3%)
CIE-LABlab(51.01, -1.14, 49.08)
CIE-LCHlch(51.01, 49.09, 91.33°)
OKLaboklab(57.74% -0.0085 0.1072)
OKLCHoklch(57.74% 0.108 94.5)
XYZxyz(18.1071, 19.2785, 3.9954)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E781E #1E348E
analogous
#8E401E #8E781E #6C8E1E
triadic
#8E781E #1E8E78 #781E8E
tetradic
#8E781E #1E8E40 #1E348E #8E1E6C
square
#8E781E #1E8E40 #1E348E #8E1E6C
split-complementary
#8E781E #1E6C8E #401E8E
monochromatic
#292309 #5B4D13 #8E781E #C1A329 #D9BE4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E781E#FFFFFF#000000##000000
##8E781E1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85760C
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#9A6E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e781e;
/* rgb */ color: rgb(142, 120, 30);
/* oklch */ color: oklch(57.7% 0.108 94.5);
Tailwind
colors: {
  custom: {
    50: '#b39e62',
    500: '#8e781e',
    950: '#000000',
  },
}
SCSS
$custom: #8e781e;
$custom-light: #b39e62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e781e",
  "rgb": {
    "r": 142,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 48.214,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57735,
    "c": 0.10756,
    "h": 94.5
  },
  "luminance": 0.19277
}

Semantic roles & 50–950 ramp

primary
#8E781E
secondary
#4C62BC
accent
#61E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E781E

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

Preview Lab → · Contrast checker → · Palette generator →

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