#5F784F#5F784F

#5F784F is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 54.2% C 0.068 H 133.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5F784F
RGBrgb(95, 120, 79)
HSLhsl(97, 21%, 39%)
HSVhsv(97, 34%, 47%)
CMYKcmyk(20.8%, 0%, 34.2%, 52.9%)
CIE-LABlab(47.53, -17.25, 19.64)
CIE-LCHlch(47.53, 26.14, 131.30°)
OKLaboklab(54.16% -0.047 0.0491)
OKLCHoklch(54.16% 0.068 133.7)
XYZxyz(12.8468, 16.4301, 9.8901)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F784F #684F78
analogous
#74784F #5F784F #4F7854
triadic
#5F784F #4F5F78 #784F5F
tetradic
#5F784F #4F7478 #684F78 #78544F
square
#5F784F #4F7478 #684F78 #78544F
split-complementary
#5F784F #544F78 #784F74
monochromatic
#252E1E #425337 #5F784F #7C9C68 #9CB48D

Accessibility & contrast

On white

4.90
#5F784F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5F784F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F784F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F784F#FFFFFF#000000##FFFFFF
##5F784F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724C
Deuteranopia (green-blind)
#777051
Tritanopia (blue-blind)
#5F756D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f784f;
/* rgb */ color: rgb(95, 120, 79);
/* oklch */ color: oklch(54.2% 0.068 133.7);
Tailwind
colors: {
  custom: {
    50: '#8d9f80',
    500: '#5f784f',
    950: '#000000',
  },
}
SCSS
$custom: #5f784f;
$custom-light: #8d9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#5f784f",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 96.585,
    "s": 20.603,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54162,
    "c": 0.06794,
    "h": 133.7
  },
  "luminance": 0.1643
}

Semantic roles & 50–950 ramp

primary
#5F784F
secondary
#9582A1
accent
#6BBD9D
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0E0A
muted
#7D7E7C

Preview Lab

Preview with #5F784F

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

Preview Lab → · Contrast checker → · Palette generator →

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