#5F784A#5F784A

#5F784A is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 54.1% C 0.074 H 131.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5F784A
RGBrgb(95, 120, 74)
HSLhsl(93, 24%, 38%)
HSVhsv(93, 38%, 47%)
CMYKcmyk(20.8%, 0%, 38.3%, 52.9%)
CIE-LABlab(47.44, -18.04, 22.37)
CIE-LCHlch(47.44, 28.73, 128.88°)
OKLaboklab(54.06% -0.0493 0.0554)
OKLCHoklch(54.06% 0.074 131.7)
XYZxyz(12.6716, 16.3600, 8.9674)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F784A #634A78
analogous
#76784A #5F784A #4A784C
triadic
#5F784A #4A5F78 #784A5F
tetradic
#5F784A #4A7678 #634A78 #784C4A
square
#5F784A #4A7678 #634A78 #784C4A
split-complementary
#5F784A #4C4A78 #784A76
monochromatic
#232C1B #415233 #5F784A #7D9E61 #9CB587

Accessibility & contrast

On white

4.92
#5F784A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5F784A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F784A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F784A#FFFFFF#000000##FFFFFF
##5F784A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7247
Deuteranopia (green-blind)
#78704C
Tritanopia (blue-blind)
#60746C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f784a;
/* rgb */ color: rgb(95, 120, 74);
/* oklch */ color: oklch(54.1% 0.074 131.7);
Tailwind
colors: {
  custom: {
    50: '#8d9f7d',
    500: '#5f784a',
    950: '#000000',
  },
}
SCSS
$custom: #5f784a;
$custom-light: #8d9f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f784a",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 74
  },
  "hsl": {
    "h": 92.609,
    "s": 23.711,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.07413,
    "h": 131.7
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#5F784A
secondary
#917CA2
accent
#68C098
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0E09
muted
#7D7E7B

Preview Lab

Preview with #5F784A

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

Preview Lab → · Contrast checker → · Palette generator →

#5F784A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva