#8C8362#8C8362

#8C8362 is a mid, muted yellow. Relative luminance 0.227; OKLCH L 60.9% C 0.048 H 94.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8C8362
RGBrgb(140, 131, 98)
HSLhsl(47, 18%, 47%)
HSVhsv(47, 30%, 55%)
CMYKcmyk(0%, 6.4%, 30%, 45.1%)
CIE-LABlab(54.75, -2.04, 19.11)
CIE-LCHlch(54.75, 19.22, 96.10°)
OKLaboklab(60.92% -0.0039 0.0481)
OKLCHoklch(60.92% 0.048 94.7)
XYZxyz(21.1363, 22.6904, 14.8192)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8362 #626B8C
analogous
#8C6E62 #8C8362 #808C62
triadic
#8C8362 #628C83 #83628C
tetradic
#8C8362 #628C6E #626B8C #8C6280
square
#8C8362 #628C6E #626B8C #8C6280
split-complementary
#8C8362 #62808C #6E628C
monochromatic
#444030 #686149 #8C8362 #A8A083 #C1BCA7

Accessibility & contrast

On white

3.79
#8C8362 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8C8362 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8362
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8362#FFFFFF#000000##000000
##8C83621.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8160
Deuteranopia (green-blind)
#8C8463
Tritanopia (blue-blind)
#937E7A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8c8362;
/* rgb */ color: rgb(140, 131, 98);
/* oklch */ color: oklch(60.9% 0.048 94.7);
Tailwind
colors: {
  custom: {
    50: '#aea78f',
    500: '#8c8362',
    950: '#000000',
  },
}
SCSS
$custom: #8c8362;
$custom-light: #aea78f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8362",
  "rgb": {
    "r": 140,
    "g": 131,
    "b": 98
  },
  "hsl": {
    "h": 47.143,
    "s": 17.647,
    "l": 46.667
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.0483,
    "h": 94.7
  },
  "luminance": 0.2269
}

Semantic roles & 50–950 ramp

primary
#8C8362
secondary
#9A9FB0
accent
#7EBA6D
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8C8362

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

Preview Lab → · Contrast checker → · Palette generator →

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