#8E8121#8E8121

#8E8121 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.113 H 101.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8E8121
RGBrgb(142, 129, 33)
HSLhsl(53, 62%, 34%)
HSVhsv(53, 77%, 56%)
CMYKcmyk(0%, 9.2%, 76.8%, 44.3%)
CIE-LABlab(53.56, -6.04, 50.35)
CIE-LCHlch(53.56, 50.71, 96.84°)
OKLaboklab(59.76% -0.022 0.1106)
OKLCHoklch(59.76% 0.113 101.3)
XYZxyz(19.2810, 21.5620, 4.5848)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8121 #212E8E
analogous
#8E4B21 #8E8121 #658E21
triadic
#8E8121 #218E81 #81218E
tetradic
#8E8121 #218E4B #212E8E #8E2165
square
#8E8121 #218E4B #212E8E #8E2165
split-complementary
#8E8121 #21658E #4B218E
monochromatic
#2B270A #5C5415 #8E8121 #C0AE2D #D7C752

Accessibility & contrast

On white

3.95
#8E8121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8E8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8121
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8121#FFFFFF#000000##000000
##8E81211.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#99776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e8121;
/* rgb */ color: rgb(142, 129, 33);
/* oklch */ color: oklch(59.8% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#b3a564',
    500: '#8e8121',
    950: '#000000',
  },
}
SCSS
$custom: #8e8121;
$custom-light: #b3a564;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8121",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 52.844,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.11274,
    "h": 101.3
  },
  "luminance": 0.21561
}

Semantic roles & 50–950 ramp

primary
#8E8121
secondary
#505DBA
accent
#56E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8121

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

Preview Lab → · Contrast checker → · Palette generator →

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