#8C8458#8C8458

#8C8458 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.9% C 0.062 H 99.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8C8458
RGBrgb(140, 132, 88)
HSLhsl(51, 23%, 45%)
HSVhsv(51, 37%, 55%)
CMYKcmyk(0%, 5.7%, 37.1%, 45.1%)
CIE-LABlab(54.85, -3.94, 24.87)
CIE-LCHlch(54.85, 25.18, 98.99°)
OKLaboklab(60.94% -0.0099 0.0615)
OKLCHoklch(60.94% 0.062 99.1)
XYZxyz(20.8283, 22.7831, 12.5310)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8458 #58608C
analogous
#8C6A58 #8C8458 #7A8C58
triadic
#8C8458 #588C84 #84588C
tetradic
#8C8458 #588C6A #58608C #8C587A
square
#8C8458 #588C6A #58608C #8C587A
split-complementary
#8C8458 #587A8C #6A588C
monochromatic
#413D29 #666140 #8C8458 #AAA277 #C1BC9D

Accessibility & contrast

On white

3.78
#8C8458 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8C8458 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8458
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8458#FFFFFF#000000##000000
##8C84581.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8155
Deuteranopia (green-blind)
#8F855A
Tritanopia (blue-blind)
#947E79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8c8458;
/* rgb */ color: rgb(140, 132, 88);
/* oklch */ color: oklch(60.9% 0.062 99.1);
Tailwind
colors: {
  custom: {
    50: '#aea787',
    500: '#8c8458',
    950: '#000000',
  },
}
SCSS
$custom: #8c8458;
$custom-light: #aea787;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8458",
  "rgb": {
    "r": 140,
    "g": 132,
    "b": 88
  },
  "hsl": {
    "h": 50.769,
    "s": 22.807,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6094,
    "c": 0.06226,
    "h": 99.1
  },
  "luminance": 0.22783
}

Semantic roles & 50–950 ramp

primary
#8C8458
secondary
#9195AF
accent
#76BF68
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#100F0B
muted
#7F7F7C

Preview Lab

Preview with #8C8458

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

Preview Lab → · Contrast checker → · Palette generator →

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