#8E8620#8E8620

#8E8620 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.118 H 104.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8E8620
RGBrgb(142, 134, 32)
HSLhsl(56, 63%, 34%)
HSVhsv(56, 77%, 56%)
CMYKcmyk(0%, 5.6%, 77.5%, 44.3%)
CIE-LABlab(54.98, -8.82, 52.03)
CIE-LCHlch(54.98, 52.77, 99.62°)
OKLaboklab(60.88% -0.03 0.1139)
OKLCHoklch(60.88% 0.118 104.7)
XYZxyz(19.9420, 22.9061, 4.7371)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8620 #20288E
analogous
#8E4F20 #8E8620 #5F8E20
triadic
#8E8620 #208E86 #86208E
tetradic
#8E8620 #208E4F #20288E #8E205F
square
#8E8620 #208E4F #20288E #8E205F
split-complementary
#8E8620 #205F8E #4F208E
monochromatic
#2A2809 #5C5715 #8E8620 #C0B52B #D8CE51

Accessibility & contrast

On white

3.76
#8E8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8E8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8620
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8620#FFFFFF#000000##000000
##8E86201.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#997C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e8620;
/* rgb */ color: rgb(142, 134, 32);
/* oklch */ color: oklch(60.9% 0.118 104.7);
Tailwind
colors: {
  custom: {
    50: '#b3a864',
    500: '#8e8620',
    950: '#000000',
  },
}
SCSS
$custom: #8e8620;
$custom-light: #b3a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8620",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 55.636,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60884,
    "c": 0.11781,
    "h": 104.7
  },
  "luminance": 0.22905
}

Semantic roles & 50–950 ramp

primary
#8E8620
secondary
#4F57BB
accent
#4EE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8620

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

Preview Lab → · Contrast checker → · Palette generator →

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