#8E841D#8E841D

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

Color values

HEX#8E841D
RGBrgb(142, 132, 29)
HSLhsl(55, 66%, 34%)
HSVhsv(55, 80%, 56%)
CMYKcmyk(0%, 7%, 79.6%, 44.3%)
CIE-LABlab(54.39, -7.85, 52.52)
CIE-LCHlch(54.39, 53.10, 98.51°)
OKLaboklab(60.41% -0.0275 0.1144)
OKLCHoklch(60.41% 0.118 103.5)
XYZxyz(19.6293, 22.3429, 4.4408)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E841D #1D278E
analogous
#8E4B1D #8E841D #5F8E1D
triadic
#8E841D #1D8E84 #841D8E
tetradic
#8E841D #1D8E4B #1D278E #8E1D5F
square
#8E841D #1D8E4B #1D278E #8E1D5F
split-complementary
#8E841D #1D5F8E #4B1D8E
monochromatic
#282608 #5B5513 #8E841D #C1B327 #DACE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E841D#FFFFFF#000000##000000
##8E841D1.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)
#917F03
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e841d;
/* rgb */ color: rgb(142, 132, 29);
/* oklch */ color: oklch(60.4% 0.118 103.5);
Tailwind
colors: {
  custom: {
    50: '#b3a763',
    500: '#8e841d',
    950: '#000000',
  },
}
SCSS
$custom: #8e841d;
$custom-light: #b3a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8e841d",
  "rgb": {
    "r": 142,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 54.69,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60412,
    "c": 0.11763,
    "h": 103.5
  },
  "luminance": 0.22342
}

Semantic roles & 50–950 ramp

primary
#8E841D
secondary
#4A54BD
accent
#4EE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E841D

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

Preview Lab → · Contrast checker → · Palette generator →

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