#8E771E#8E771E

#8E771E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.107 H 93.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8E771E
RGBrgb(142, 119, 30)
HSLhsl(48, 65%, 34%)
HSVhsv(48, 79%, 56%)
CMYKcmyk(0%, 16.2%, 78.9%, 44.3%)
CIE-LABlab(50.73, -0.58, 48.82)
CIE-LCHlch(50.73, 48.82, 90.68°)
OKLaboklab(57.52% -0.0069 0.1067)
OKLCHoklch(57.52% 0.107 93.7)
XYZxyz(17.9875, 19.0392, 3.9556)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E771E #1E358E
analogous
#8E3F1E #8E771E #6D8E1E
triadic
#8E771E #1E8E77 #771E8E
tetradic
#8E771E #1E8E3F #1E358E #8E1E6D
square
#8E771E #1E8E3F #1E358E #8E1E6D
split-complementary
#8E771E #1E6D8E #3F1E8E
monochromatic
#292209 #5B4D13 #8E771E #C1A129 #D9BD4D

Accessibility & contrast

On white

4.37
#8E771E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8E771E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E771E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E771E#FFFFFF#000000##000000
##8E771E1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#9A6D66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e771e;
/* rgb */ color: rgb(142, 119, 30);
/* oklch */ color: oklch(57.5% 0.107 93.7);
Tailwind
colors: {
  custom: {
    50: '#b39d61',
    500: '#8e771e',
    950: '#000000',
  },
}
SCSS
$custom: #8e771e;
$custom-light: #b39d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e771e",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 47.679,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.10688,
    "h": 93.7
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#8E771E
secondary
#4C63BC
accent
#62E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E771E

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

Preview Lab → · Contrast checker → · Palette generator →

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