#8C8D4E#8C8D4E

#8C8D4E is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.085 H 109.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8C8D4E
RGBrgb(140, 141, 78)
HSLhsl(61, 29%, 43%)
HSVhsv(61, 45%, 55%)
CMYKcmyk(0.7%, 0%, 44.7%, 44.7%)
CIE-LABlab(57.25, -10.05, 33.36)
CIE-LCHlch(57.25, 34.84, 106.77°)
OKLaboklab(62.79% -0.0283 0.0803)
OKLCHoklch(62.79% 0.085 109.4)
XYZxyz(21.7156, 25.1757, 10.9217)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D4E #4F4E8D
analogous
#8D6E4E #8C8D4E #6C8D4E
triadic
#8C8D4E #4E8C8D #8D4E8C
tetradic
#8C8D4E #4E8D6E #4F4E8D #8D4E6C
square
#8C8D4E #4E8D6E #4F4E8D #8D4E6C
split-complementary
#8C8D4E #4E6C8D #6E4E8D
monochromatic
#3E3E22 #656638 #8C8D4E #ACAD6B #C2C392

Accessibility & contrast

On white

3.48
#8C8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8C8D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D4E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D4E#FFFFFF#000000##000000
##8C8D4E1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968849
Deuteranopia (green-blind)
#978B51
Tritanopia (blue-blind)
#94867E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8d4e;
/* rgb */ color: rgb(140, 141, 78);
/* oklch */ color: oklch(62.8% 0.085 109.4);
Tailwind
colors: {
  custom: {
    50: '#afae81',
    500: '#8c8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d4e;
$custom-light: #afae81;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d4e",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 60.952,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62792,
    "c": 0.08511,
    "h": 109.4
  },
  "luminance": 0.25175
}

Semantic roles & 50–950 ramp

primary
#8C8D4E
secondary
#8887AF
accent
#63C564
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8C8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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