#5F784D#5F784D

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

Color values

HEX#5F784D
RGBrgb(95, 120, 77)
HSLhsl(95, 22%, 39%)
HSVhsv(95, 36%, 47%)
CMYKcmyk(20.8%, 0%, 35.8%, 52.9%)
CIE-LABlab(47.50, -17.57, 20.73)
CIE-LCHlch(47.50, 27.18, 130.28°)
OKLaboklab(54.12% -0.0479 0.0516)
OKLCHoklch(54.12% 0.07 132.9)
XYZxyz(12.7751, 16.4014, 9.5125)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F784D #664D78
analogous
#74784D #5F784D #4D7850
triadic
#5F784D #4D5F78 #784D5F
tetradic
#5F784D #4D7478 #664D78 #78504D
square
#5F784D #4D7478 #664D78 #78504D
split-complementary
#5F784D #504D78 #784D74
monochromatic
#242D1D #415335 #5F784D #7D9D66 #9CB58B

Accessibility & contrast

On white

4.91
#5F784D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5F784D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F784D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F784D#FFFFFF#000000##FFFFFF
##5F784D1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724A
Deuteranopia (green-blind)
#78704F
Tritanopia (blue-blind)
#60756D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f784d;
/* rgb */ color: rgb(95, 120, 77);
/* oklch */ color: oklch(54.1% 0.070 132.9);
Tailwind
colors: {
  custom: {
    50: '#8d9f7f',
    500: '#5f784d',
    950: '#000000',
  },
}
SCSS
$custom: #5f784d;
$custom-light: #8d9f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f784d",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 77
  },
  "hsl": {
    "h": 94.884,
    "s": 21.827,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.07043,
    "h": 132.9
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#5F784D
secondary
#9380A1
accent
#69BE9B
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0E0A
muted
#7D7E7C

Preview Lab

Preview with #5F784D

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

Preview Lab → · Contrast checker → · Palette generator →

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