#8E8420#8E8420

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

Color values

HEX#8E8420
RGBrgb(142, 132, 32)
HSLhsl(55, 63%, 34%)
HSVhsv(55, 77%, 56%)
CMYKcmyk(0%, 7%, 77.5%, 44.3%)
CIE-LABlab(54.41, -7.73, 51.50)
CIE-LCHlch(54.41, 52.08, 98.54°)
OKLaboklab(60.43% -0.0269 0.1128)
OKLCHoklch(60.43% 0.116 103.4)
XYZxyz(19.6682, 22.3584, 4.6458)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8420 #202A8E
analogous
#8E4D20 #8E8420 #618E20
triadic
#8E8420 #208E84 #84208E
tetradic
#8E8420 #208E4D #202A8E #8E2061
square
#8E8420 #208E4D #202A8E #8E2061
split-complementary
#8E8420 #20618E #4D208E
monochromatic
#2A2709 #5C5615 #8E8420 #C0B22B #D8CB51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8420#FFFFFF#000000##000000
##8E84201.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)
#917F0A
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e8420;
/* rgb */ color: rgb(142, 132, 32);
/* oklch */ color: oklch(60.4% 0.116 103.4);
Tailwind
colors: {
  custom: {
    50: '#b3a764',
    500: '#8e8420',
    950: '#000000',
  },
}
SCSS
$custom: #8e8420;
$custom-light: #b3a764;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8420",
  "rgb": {
    "r": 142,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 54.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.11597,
    "h": 103.4
  },
  "luminance": 0.22358
}

Semantic roles & 50–950 ramp

primary
#8E8420
secondary
#4F59BB
accent
#51E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8420

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

Preview Lab → · Contrast checker → · Palette generator →

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