#8E761C#8E761C

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

Color values

HEX#8E761C
RGBrgb(142, 118, 28)
HSLhsl(47, 67%, 33%)
HSVhsv(47, 80%, 56%)
CMYKcmyk(0%, 16.9%, 80.3%, 44.3%)
CIE-LABlab(50.44, -0.09, 49.28)
CIE-LCHlch(50.44, 49.28, 90.11°)
OKLaboklab(57.28% -0.0057 0.1072)
OKLCHoklch(57.28% 0.107 93.1)
XYZxyz(17.8444, 18.7926, 3.7858)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E761C #1C348E
analogous
#8E3D1C #8E761C #6D8E1C
triadic
#8E761C #1C8E76 #761C8E
tetradic
#8E761C #1C8E3D #1C348E #8E1C6D
square
#8E761C #1C8E3D #1C348E #8E1C6D
split-complementary
#8E761C #1C6D8E #3D1C8E
monochromatic
#282108 #5B4C12 #8E761C #C1A026 #DBBC49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E761C#FFFFFF#000000##000000
##8E761C1.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)
#847408
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#9A6C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e761c;
/* rgb */ color: rgb(142, 118, 28);
/* oklch */ color: oklch(57.3% 0.107 93.1);
Tailwind
colors: {
  custom: {
    50: '#b39d60',
    500: '#8e761c',
    950: '#000000',
  },
}
SCSS
$custom: #8e761c;
$custom-light: #b39d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8e761c",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 47.368,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.10737,
    "h": 93.1
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#8E761C
secondary
#4961BD
accent
#62EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E761C

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

Preview Lab → · Contrast checker → · Palette generator →

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