#8E761D#8E761D

#8E761D is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.3% C 0.107 H 93.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8E761D
RGBrgb(142, 118, 29)
HSLhsl(47, 66%, 34%)
HSVhsv(47, 80%, 56%)
CMYKcmyk(0%, 16.9%, 79.6%, 44.3%)
CIE-LABlab(50.45, -0.05, 48.92)
CIE-LCHlch(50.45, 48.92, 90.06°)
OKLaboklab(57.29% -0.0055 0.1067)
OKLCHoklch(57.29% 0.107 93)
XYZxyz(17.8565, 18.7974, 3.8499)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E761D #1D358E
analogous
#8E3D1D #8E761D #6D8E1D
triadic
#8E761D #1D8E76 #761D8E
tetradic
#8E761D #1D8E3D #1D358E #8E1D6D
square
#8E761D #1D8E3D #1D358E #8E1D6D
split-complementary
#8E761D #1D6D8E #3D1D8E
monochromatic
#282208 #5B4C13 #8E761D #C1A027 #DABC4B

Accessibility & contrast

On white

4.41
#8E761D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8E761D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E761D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E761D#FFFFFF#000000##000000
##8E761D1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740A
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#9A6C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e761d;
/* rgb */ color: rgb(142, 118, 29);
/* oklch */ color: oklch(57.3% 0.107 93.0);
Tailwind
colors: {
  custom: {
    50: '#b39d61',
    500: '#8e761d',
    950: '#000000',
  },
}
SCSS
$custom: #8e761d;
$custom-light: #b39d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e761d",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 29
  },
  "hsl": {
    "h": 47.257,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.10681,
    "h": 93
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#8E761D
secondary
#4A63BD
accent
#63E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E761D

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

Preview Lab → · Contrast checker → · Palette generator →

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