#8E8220#8E8220

#8E8220 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.114 H 102.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8E8220
RGBrgb(142, 130, 32)
HSLhsl(53, 63%, 34%)
HSVhsv(53, 77%, 56%)
CMYKcmyk(0%, 8.5%, 77.5%, 44.3%)
CIE-LABlab(53.84, -6.63, 50.97)
CIE-LCHlch(53.84, 51.40, 97.41°)
OKLaboklab(59.98% -0.0238 0.1117)
OKLCHoklch(59.98% 0.114 102)
XYZxyz(19.3996, 21.8212, 4.5563)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8220 #202C8E
analogous
#8E4B20 #8E8220 #638E20
triadic
#8E8220 #208E82 #82208E
tetradic
#8E8220 #208E4B #202C8E #8E2063
square
#8E8220 #208E4B #202C8E #8E2063
split-complementary
#8E8220 #20638E #4B208E
monochromatic
#2A2709 #5C5415 #8E8220 #C0B02B #D8C951

Accessibility & contrast

On white

3.91
#8E8220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8E8220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8220
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8220#FFFFFF#000000##000000
##8E82201.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#99786F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e8220;
/* rgb */ color: rgb(142, 130, 32);
/* oklch */ color: oklch(60.0% 0.114 102.0);
Tailwind
colors: {
  custom: {
    50: '#b3a664',
    500: '#8e8220',
    950: '#000000',
  },
}
SCSS
$custom: #8e8220;
$custom-light: #b3a664;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8220",
  "rgb": {
    "r": 142,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 53.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.11419,
    "h": 102
  },
  "luminance": 0.2182
}

Semantic roles & 50–950 ramp

primary
#8E8220
secondary
#4F5BBB
accent
#54E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8220

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

Preview Lab → · Contrast checker → · Palette generator →

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