#8C8A4B#8C8A4B

#8C8A4B is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.085 H 107.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8C8A4B
RGBrgb(140, 138, 75)
HSLhsl(58, 30%, 42%)
HSVhsv(58, 46%, 55%)
CMYKcmyk(0%, 1.4%, 46.4%, 45.1%)
CIE-LABlab(56.35, -8.74, 33.84)
CIE-LCHlch(56.35, 34.95, 104.48°)
OKLaboklab(62.07% -0.0248 0.0811)
OKLCHoklch(62.07% 0.085 107)
XYZxyz(21.1741, 24.2609, 10.2227)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A4B #4B4D8C
analogous
#8C6A4B #8C8A4B #6E8C4B
triadic
#8C8A4B #4B8C8A #8A4B8C
tetradic
#8C8A4B #4B8C6A #4B4D8C #8C4B6E
square
#8C8A4B #4B8C6A #4B4D8C #8C4B6E
split-complementary
#8C8A4B #4B6E8C #6A4B8C
monochromatic
#3C3B20 #646336 #8C8A4B #ADAB67 #C3C18F

Accessibility & contrast

On white

3.59
#8C8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8C8A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A4B
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A4B#FFFFFF#000000##000000
##8C8A4B1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938646
Deuteranopia (green-blind)
#95884E
Tritanopia (blue-blind)
#94837B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8a4b;
/* rgb */ color: rgb(140, 138, 75);
/* oklch */ color: oklch(62.1% 0.085 107.0);
Tailwind
colors: {
  custom: {
    50: '#afac7f',
    500: '#8c8a4b',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a4b;
$custom-light: #afac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a4b",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 75
  },
  "hsl": {
    "h": 58.154,
    "s": 30.233,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.08483,
    "h": 107
  },
  "luminance": 0.2426
}

Semantic roles & 50–950 ramp

primary
#8C8A4B
secondary
#8485AF
accent
#64C661
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8C8A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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