#8E8320#8E8320

#8E8320 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.115 H 102.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8E8320
RGBrgb(142, 131, 32)
HSLhsl(54, 63%, 34%)
HSVhsv(54, 77%, 56%)
CMYKcmyk(0%, 7.7%, 77.5%, 44.3%)
CIE-LABlab(54.12, -7.18, 51.24)
CIE-LCHlch(54.12, 51.74, 97.98°)
OKLaboklab(60.2% -0.0254 0.1122)
OKLCHoklch(60.2% 0.115 102.7)
XYZxyz(19.5332, 22.0885, 4.6008)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8320 #202B8E
analogous
#8E4C20 #8E8320 #628E20
triadic
#8E8320 #208E83 #83208E
tetradic
#8E8320 #208E4C #202B8E #8E2062
square
#8E8320 #208E4C #202B8E #8E2062
split-complementary
#8E8320 #20628E #4C208E
monochromatic
#2A2709 #5C5515 #8E8320 #C0B12B #D8CA51

Accessibility & contrast

On white

3.88
#8E8320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8E8320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8320
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8320#FFFFFF#000000##000000
##8E83201.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0B
Deuteranopia (green-blind)
#938427
Tritanopia (blue-blind)
#997970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e8320;
/* rgb */ color: rgb(142, 131, 32);
/* oklch */ color: oklch(60.2% 0.115 102.7);
Tailwind
colors: {
  custom: {
    50: '#b3a664',
    500: '#8e8320',
    950: '#000000',
  },
}
SCSS
$custom: #8e8320;
$custom-light: #b3a664;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8320",
  "rgb": {
    "r": 142,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 54,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60204,
    "c": 0.11507,
    "h": 102.7
  },
  "luminance": 0.22088
}

Semantic roles & 50–950 ramp

primary
#8E8320
secondary
#4F5ABB
accent
#52E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8320

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

Preview Lab → · Contrast checker → · Palette generator →

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