#8E771D#8E771D

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

Color values

HEX#8E771D
RGBrgb(142, 119, 29)
HSLhsl(48, 66%, 34%)
HSVhsv(48, 80%, 56%)
CMYKcmyk(0%, 16.2%, 79.6%, 44.3%)
CIE-LABlab(50.73, -0.62, 49.18)
CIE-LCHlch(50.73, 49.18, 90.72°)
OKLaboklab(57.51% -0.0071 0.1072)
OKLCHoklch(57.51% 0.107 93.8)
XYZxyz(17.9749, 19.0342, 3.8894)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E771D #1D348E
analogous
#8E3E1D #8E771D #6C8E1D
triadic
#8E771D #1D8E77 #771D8E
tetradic
#8E771D #1D8E3E #1D348E #8E1D6C
square
#8E771D #1D8E3E #1D348E #8E1D6C
split-complementary
#8E771D #1D6C8E #3E1D8E
monochromatic
#282208 #5B4C13 #8E771D #C1A227 #DABD4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E771D#FFFFFF#000000##000000
##8E771D1.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)
#85750A
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#9A6D66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e771d;
/* rgb */ color: rgb(142, 119, 29);
/* oklch */ color: oklch(57.5% 0.107 93.8);
Tailwind
colors: {
  custom: {
    50: '#b39d61',
    500: '#8e771d',
    950: '#000000',
  },
}
SCSS
$custom: #8e771d;
$custom-light: #b39d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e771d",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 47.788,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.10746,
    "h": 93.8
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#8E771D
secondary
#4A61BD
accent
#61E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E771D

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

Preview Lab → · Contrast checker → · Palette generator →

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