#8E841E#8E841E

#8E841E is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.117 H 103.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8E841E
RGBrgb(142, 132, 30)
HSLhsl(55, 65%, 34%)
HSVhsv(55, 79%, 56%)
CMYKcmyk(0%, 7%, 78.9%, 44.3%)
CIE-LABlab(54.39, -7.81, 52.19)
CIE-LCHlch(54.39, 52.77, 98.52°)
OKLaboklab(60.42% -0.0273 0.1139)
OKLCHoklch(60.42% 0.117 103.5)
XYZxyz(19.6418, 22.3479, 4.5070)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E841E #1E288E
analogous
#8E4C1E #8E841E #608E1E
triadic
#8E841E #1E8E84 #841E8E
tetradic
#8E841E #1E8E4C #1E288E #8E1E60
square
#8E841E #1E8E4C #1E288E #8E1E60
split-complementary
#8E841E #1E608E #4C1E8E
monochromatic
#292609 #5B5513 #8E841E #C1B329 #D9CD4D

Accessibility & contrast

On white

3.84
#8E841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8E841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E841E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E841E#FFFFFF#000000##000000
##8E841E1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e841e;
/* rgb */ color: rgb(142, 132, 30);
/* oklch */ color: oklch(60.4% 0.117 103.5);
Tailwind
colors: {
  custom: {
    50: '#b3a763',
    500: '#8e841e',
    950: '#000000',
  },
}
SCSS
$custom: #8e841e;
$custom-light: #b3a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8e841e",
  "rgb": {
    "r": 142,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 54.643,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.1171,
    "h": 103.5
  },
  "luminance": 0.22347
}

Semantic roles & 50–950 ramp

primary
#8E841E
secondary
#4C56BC
accent
#4FE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E841E

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

Preview Lab → · Contrast checker → · Palette generator →

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