#8C8136#8C8136

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

Color values

HEX#8C8136
RGBrgb(140, 129, 54)
HSLhsl(52, 44%, 38%)
HSVhsv(52, 61%, 55%)
CMYKcmyk(0%, 7.9%, 61.4%, 45.1%)
CIE-LABlab(53.54, -5.69, 41.21)
CIE-LCHlch(53.54, 41.61, 97.86°)
OKLaboklab(59.75% -0.0185 0.0949)
OKLCHoklch(59.75% 0.097 101)
XYZxyz(19.3321, 21.5431, 6.6292)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8136 #36418C
analogous
#8C5636 #8C8136 #6C8C36
triadic
#8C8136 #368C81 #81368C
tetradic
#8C8136 #368C56 #36418C #8C366C
square
#8C8136 #368C56 #36418C #8C366C
split-complementary
#8C8136 #366C8C #56368C
monochromatic
#343014 #605825 #8C8136 #B8AA47 #C9BE73

Accessibility & contrast

On white

3.96
#8C8136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8136#FFFFFF#000000##000000
##8C81361.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2E
Deuteranopia (green-blind)
#90823A
Tritanopia (blue-blind)
#967871
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8c8136;
/* rgb */ color: rgb(140, 129, 54);
/* oklch */ color: oklch(59.8% 0.097 101.0);
Tailwind
colors: {
  custom: {
    50: '#b0a570',
    500: '#8c8136',
    950: '#000000',
  },
}
SCSS
$custom: #8c8136;
$custom-light: #b0a570;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8136",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 52.326,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59752,
    "c": 0.09671,
    "h": 101
  },
  "luminance": 0.21542
}

Semantic roles & 50–950 ramp

primary
#8C8136
secondary
#6C75B2
accent
#64D454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8C8136

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

Preview Lab → · Contrast checker → · Palette generator →

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