#8E8741#8E8741

#8E8741 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.092 H 103.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8E8741
RGBrgb(142, 135, 65)
HSLhsl(55, 37%, 41%)
HSVhsv(55, 54%, 56%)
CMYKcmyk(0%, 4.9%, 54.2%, 44.3%)
CIE-LABlab(55.54, -7.20, 38.10)
CIE-LCHlch(55.54, 38.77, 100.70°)
OKLaboklab(61.43% -0.0216 0.0895)
OKLCHoklch(61.43% 0.092 103.6)
XYZxyz(20.7741, 23.4611, 8.4341)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8741 #41488E
analogous
#8E6041 #8E8741 #6E8E41
triadic
#8E8741 #418E87 #87418E
tetradic
#8E8741 #418E60 #41488E #8E416E
square
#8E8741 #418E60 #41488E #8E416E
split-complementary
#8E8741 #416E8E #60418E
monochromatic
#3A371B #645F2E #8E8741 #B3AB59 #C6C083

Accessibility & contrast

On white

3.69
#8E8741 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8E8741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8741
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8741#FFFFFF#000000##000000
##8E87411.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833A
Deuteranopia (green-blind)
#948744
Tritanopia (blue-blind)
#977F77
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e8741;
/* rgb */ color: rgb(142, 135, 65);
/* oklch */ color: oklch(61.4% 0.092 103.6);
Tailwind
colors: {
  custom: {
    50: '#b1a978',
    500: '#8e8741',
    950: '#000000',
  },
}
SCSS
$custom: #8e8741;
$custom-light: #b1a978;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8741",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 54.545,
    "s": 37.198,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61427,
    "c": 0.09209,
    "h": 103.6
  },
  "luminance": 0.2346
}

Semantic roles & 50–950 ramp

primary
#8E8741
secondary
#7A7FB1
accent
#65CD5B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8E8741

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

Preview Lab → · Contrast checker → · Palette generator →

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