#8E841C#8E841C

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

Color values

HEX#8E841C
RGBrgb(142, 132, 28)
HSLhsl(55, 67%, 33%)
HSVhsv(55, 80%, 56%)
CMYKcmyk(0%, 7%, 80.3%, 44.3%)
CIE-LABlab(54.38, -7.89, 52.84)
CIE-LCHlch(54.38, 53.43, 98.50°)
OKLaboklab(60.41% -0.0277 0.1149)
OKLCHoklch(60.41% 0.118 103.6)
XYZxyz(19.6171, 22.3380, 4.3767)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E841C #1C268E
analogous
#8E4B1C #8E841C #5F8E1C
triadic
#8E841C #1C8E84 #841C8E
tetradic
#8E841C #1C8E4B #1C268E #8E1C5F
square
#8E841C #1C8E4B #1C268E #8E1C5F
split-complementary
#8E841C #1C5F8E #4B1C8E
monochromatic
#282508 #5B5412 #8E841C #C1B426 #DBCE49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E841C#FFFFFF#000000##000000
##8E841C1.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)
#917F00
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e841c;
/* rgb */ color: rgb(142, 132, 28);
/* oklch */ color: oklch(60.4% 0.118 103.6);
Tailwind
colors: {
  custom: {
    50: '#b3a762',
    500: '#8e841c',
    950: '#000000',
  },
}
SCSS
$custom: #8e841c;
$custom-light: #b3a762;
$custom-dark: #000000;
JSON
{
  "hex": "#8e841c",
  "rgb": {
    "r": 142,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 54.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60406,
    "c": 0.11816,
    "h": 103.6
  },
  "luminance": 0.22337
}

Semantic roles & 50–950 ramp

primary
#8E841C
secondary
#4953BD
accent
#4DEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E841C

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

Preview Lab → · Contrast checker → · Palette generator →

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