#579142#579142

#579142 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.8% C 0.127 H 138.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#579142
RGBrgb(87, 145, 66)
HSLhsl(104, 37%, 41%)
HSVhsv(104, 54%, 57%)
CMYKcmyk(40%, 0%, 54.5%, 43.1%)
CIE-LABlab(54.73, -34.44, 35.69)
CIE-LCHlch(54.73, 49.59, 133.98°)
OKLaboklab(59.8% -0.0946 0.085)
OKLCHoklch(59.8% 0.127 138.1)
XYZxyz(15.0388, 22.6696, 8.7365)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579142 #7C4291
analogous
#7F9142 #579142 #429155
triadic
#579142 #425791 #914257
tetradic
#579142 #427F91 #7C4291 #915542
square
#579142 #427F91 #7C4291 #915542
split-complementary
#579142 #554291 #91427F
monochromatic
#253D1C #3E672F #579142 #73B55C #97C886

Accessibility & contrast

On white

3.79
#579142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#579142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #579142
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##579142#FFFFFF#000000##000000
##5791421.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863B
Deuteranopia (green-blind)
#8D8147
Tritanopia (blue-blind)
#548C7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #579142;
/* rgb */ color: rgb(87, 145, 66);
/* oklch */ color: oklch(59.8% 0.127 138.1);
Tailwind
colors: {
  custom: {
    50: '#8ab178',
    500: '#579142',
    950: '#000000',
  },
}
SCSS
$custom: #579142;
$custom-light: #8ab178;
$custom-dark: #000000;
JSON
{
  "hex": "#579142",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 104.051,
    "s": 37.441,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.12723,
    "h": 138.1
  },
  "luminance": 0.2267
}

Semantic roles & 50–950 ramp

primary
#579142
secondary
#A47CB3
accent
#5ACDAF
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #579142

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

Preview Lab → · Contrast checker → · Palette generator →

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