#5E784F#5E784F

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

Color values

HEX#5E784F
RGBrgb(94, 120, 79)
HSLhsl(98, 21%, 39%)
HSVhsv(98, 34%, 47%)
CMYKcmyk(21.7%, 0%, 34.2%, 52.9%)
CIE-LABlab(47.47, -17.65, 19.53)
CIE-LCHlch(47.47, 26.32, 132.10°)
OKLaboklab(54.09% -0.048 0.0489)
OKLCHoklch(54.09% 0.069 134.5)
XYZxyz(12.7435, 16.3769, 9.8853)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E784F #694F78
analogous
#73784F #5E784F #4F7855
triadic
#5E784F #4F5E78 #784F5E
tetradic
#5E784F #4F7378 #694F78 #78554F
square
#5E784F #4F7378 #694F78 #78554F
split-complementary
#5E784F #554F78 #784F73
monochromatic
#242E1E #415337 #5E784F #7B9C68 #9BB48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E784F#FFFFFF#000000##FFFFFF
##5E784F1.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)
#7B724C
Deuteranopia (green-blind)
#777051
Tritanopia (blue-blind)
#5E756D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e784f;
/* rgb */ color: rgb(94, 120, 79);
/* oklch */ color: oklch(54.1% 0.069 134.5);
Tailwind
colors: {
  custom: {
    50: '#8c9f80',
    500: '#5e784f',
    950: '#000000',
  },
}
SCSS
$custom: #5e784f;
$custom-light: #8c9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#5e784f",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 98.049,
    "s": 20.603,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.06852,
    "h": 134.5
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#5E784F
secondary
#9682A1
accent
#6BBD9F
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0E0A
muted
#7D7E7C

Preview Lab

Preview with #5E784F

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

Preview Lab → · Contrast checker → · Palette generator →

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