#8C8A36#8C8A36

#8C8A36 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.106 H 107.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8C8A36
RGBrgb(140, 138, 54)
HSLhsl(59, 44%, 38%)
HSVhsv(59, 61%, 55%)
CMYKcmyk(0%, 1.4%, 61.4%, 45.1%)
CIE-LABlab(56.11, -10.61, 44.04)
CIE-LCHlch(56.11, 45.30, 103.55°)
OKLaboklab(61.8% -0.0325 0.101)
OKLCHoklch(61.8% 0.106 107.9)
XYZxyz(20.5702, 24.0194, 7.0419)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A36 #36388C
analogous
#8C5F36 #8C8A36 #638C36
triadic
#8C8A36 #368C8A #8A368C
tetradic
#8C8A36 #368C5F #36388C #8C3663
square
#8C8A36 #368C5F #36388C #8C3663
split-complementary
#8C8A36 #36638C #5F368C
monochromatic
#343314 #605E25 #8C8A36 #B8B547 #C9C773

Accessibility & contrast

On white

3.62
#8C8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8C8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A36
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A36#FFFFFF#000000##000000
##8C8A361.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852C
Deuteranopia (green-blind)
#96883B
Tritanopia (blue-blind)
#968278
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a36;
/* rgb */ color: rgb(140, 138, 54);
/* oklch */ color: oklch(61.8% 0.106 107.9);
Tailwind
colors: {
  custom: {
    50: '#b0ac71',
    500: '#8c8a36',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a36;
$custom-light: #b0ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a36",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 58.605,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.10606,
    "h": 107.9
  },
  "luminance": 0.24019
}

Semantic roles & 50–950 ramp

primary
#8C8A36
secondary
#6C6EB2
accent
#57D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8C8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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