#579740#579740

#579740 is a mid, vivid green. Relative luminance 0.245; OKLCH L 61.3% C 0.138 H 138.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#579740
RGBrgb(87, 151, 64)
HSLhsl(104, 40%, 42%)
HSVhsv(104, 58%, 59%)
CMYKcmyk(42.4%, 0%, 57.6%, 40.8%)
CIE-LABlab(56.61, -37.36, 38.90)
CIE-LCHlch(56.61, 53.94, 133.84°)
OKLaboklab(61.33% -0.1028 0.0919)
OKLCHoklch(61.33% 0.138 138.2)
XYZxyz(15.9220, 24.5287, 8.7450)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579740 #804097
analogous
#839740 #579740 #409755
triadic
#579740 #405797 #974057
tetradic
#579740 #408397 #804097 #975540
square
#579740 #408397 #804097 #975540
split-complementary
#579740 #554097 #974083
monochromatic
#25411C #3E6C2E #579740 #74B95B #98CC86

Accessibility & contrast

On white

3.56
#579740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#579740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #579740
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##579740#FFFFFF#000000##000000
##5797401.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B37
Deuteranopia (green-blind)
#938646
Tritanopia (blue-blind)
#539284
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #579740;
/* rgb */ color: rgb(87, 151, 64);
/* oklch */ color: oklch(61.3% 0.138 138.2);
Tailwind
colors: {
  custom: {
    50: '#8bb678',
    500: '#579740',
    950: '#000000',
  },
}
SCSS
$custom: #579740;
$custom-light: #8bb678;
$custom-dark: #000000;
JSON
{
  "hex": "#579740",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 104.138,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61331,
    "c": 0.13785,
    "h": 138.2
  },
  "luminance": 0.2453
}

Semantic roles & 50–950 ramp

primary
#579740
secondary
#A77DB6
accent
#57D0B0
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #579740

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

Preview Lab → · Contrast checker → · Palette generator →

#579740 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva