#8C8337#8C8337

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

Color values

HEX#8C8337
RGBrgb(140, 131, 55)
HSLhsl(54, 44%, 38%)
HSVhsv(54, 61%, 55%)
CMYKcmyk(0%, 6.4%, 60.7%, 45.1%)
CIE-LABlab(54.12, -6.72, 41.37)
CIE-LCHlch(54.12, 41.92, 99.22°)
OKLaboklab(60.21% -0.0213 0.0954)
OKLCHoklch(60.21% 0.098 102.6)
XYZxyz(19.6218, 22.0846, 6.8429)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8337 #37408C
analogous
#8C5837 #8C8337 #6A8C37
triadic
#8C8337 #378C83 #83378C
tetradic
#8C8337 #378C58 #37408C #8C376A
square
#8C8337 #378C58 #37408C #8C376A
split-complementary
#8C8337 #376A8C #58378C
monochromatic
#343114 #605A26 #8C8337 #B7AC49 #C9C075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8337#FFFFFF#000000##000000
##8C83371.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)
#8E7F2F
Deuteranopia (green-blind)
#91833B
Tritanopia (blue-blind)
#967A72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8c8337;
/* rgb */ color: rgb(140, 131, 55);
/* oklch */ color: oklch(60.2% 0.098 102.6);
Tailwind
colors: {
  custom: {
    50: '#b0a671',
    500: '#8c8337',
    950: '#000000',
  },
}
SCSS
$custom: #8c8337;
$custom-light: #b0a671;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8337",
  "rgb": {
    "r": 140,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 53.647,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60214,
    "c": 0.09776,
    "h": 102.6
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#8C8337
secondary
#6D75B1
accent
#62D354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8C8337

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

Preview Lab → · Contrast checker → · Palette generator →

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