#5C784B#5C784B

#5C784B is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.9% C 0.075 H 134.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5C784B
RGBrgb(92, 120, 75)
HSLhsl(97, 23%, 38%)
HSVhsv(97, 38%, 47%)
CMYKcmyk(23.3%, 0%, 37.5%, 52.9%)
CIE-LABlab(47.26, -19.07, 21.52)
CIE-LCHlch(47.26, 28.75, 131.55°)
OKLaboklab(53.86% -0.0521 0.0534)
OKLCHoklch(53.86% 0.075 134.3)
XYZxyz(12.3998, 16.2160, 9.1319)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C784B #674B78
analogous
#72784B #5C784B #4B7850
triadic
#5C784B #4B5C78 #784B5C
tetradic
#5C784B #4B7278 #674B78 #78504B
square
#5C784B #4B7278 #674B78 #78504B
split-complementary
#5C784B #504B78 #784B72
monochromatic
#222D1C #3F5233 #5C784B #799D63 #99B588

Accessibility & contrast

On white

4.95
#5C784B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5C784B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C784B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C784B#FFFFFF#000000##FFFFFF
##5C784B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7248
Deuteranopia (green-blind)
#776F4D
Tritanopia (blue-blind)
#5C756D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c784b;
/* rgb */ color: rgb(92, 120, 75);
/* oklch */ color: oklch(53.9% 0.075 134.3);
Tailwind
colors: {
  custom: {
    50: '#8b9f7e',
    500: '#5c784b',
    950: '#000000',
  },
}
SCSS
$custom: #5c784b;
$custom-light: #8b9f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c784b",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 75
  },
  "hsl": {
    "h": 97.333,
    "s": 23.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.0746,
    "h": 134.3
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#5C784B
secondary
#947DA1
accent
#68C09F
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0E0A
muted
#7D7E7C

Preview Lab

Preview with #5C784B

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

Preview Lab → · Contrast checker → · Palette generator →

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