#8C8121#8C8121

#8C8121 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.113 H 102.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8C8121
RGBrgb(140, 129, 33)
HSLhsl(54, 62%, 34%)
HSVhsv(54, 76%, 55%)
CMYKcmyk(0%, 7.9%, 76.4%, 45.1%)
CIE-LABlab(53.37, -6.96, 50.10)
CIE-LCHlch(53.37, 50.59, 97.91°)
OKLaboklab(59.56% -0.0245 0.1101)
OKLCHoklch(59.56% 0.113 102.6)
XYZxyz(18.9408, 21.3866, 4.5689)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8121 #212C8C
analogous
#8C4C21 #8C8121 #628C21
triadic
#8C8121 #218C81 #81218C
tetradic
#8C8121 #218C4C #212C8C #8C2162
square
#8C8121 #218C4C #212C8C #8C2162
split-complementary
#8C8121 #21628C #4C218C
monochromatic
#29260A #5A5315 #8C8121 #BEAF2D #D6C851

Accessibility & contrast

On white

3.98
#8C8121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8C8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8121
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8121#FFFFFF#000000##000000
##8C81211.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0E
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#97776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c8121;
/* rgb */ color: rgb(140, 129, 33);
/* oklch */ color: oklch(59.6% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#b1a564',
    500: '#8c8121',
    950: '#000000',
  },
}
SCSS
$custom: #8c8121;
$custom-light: #b1a564;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8121",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 53.832,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59564,
    "c": 0.11282,
    "h": 102.6
  },
  "luminance": 0.21386
}

Semantic roles & 50–950 ramp

primary
#8C8121
secondary
#4F5AB9
accent
#54E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8121

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

Preview Lab → · Contrast checker → · Palette generator →

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