#578040#578040

#578040 is a mid, moderate yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.103 H 135.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#578040
RGBrgb(87, 128, 64)
HSLhsl(98, 33%, 38%)
HSVhsv(98, 50%, 50%)
CMYKcmyk(32%, 0%, 50%, 49.8%)
CIE-LABlab(49.29, -26.67, 30.12)
CIE-LCHlch(49.29, 40.23, 131.52°)
OKLaboklab(55.37% -0.0734 0.0726)
OKLCHoklch(55.37% 0.103 135.3)
XYZxyz(12.5748, 17.8343, 7.6293)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578040 #694080
analogous
#778040 #578040 #408049
triadic
#578040 #405780 #804057
tetradic
#578040 #407780 #694080 #804940
square
#578040 #407780 #694080 #804940
split-complementary
#578040 #494080 #804077
monochromatic
#202E17 #3B572C #578040 #73A954 #94BE7D

Accessibility & contrast

On white

4.60
#578040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#578040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #578040
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578040#FFFFFF#000000##FFFFFF
##5780401.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773B
Deuteranopia (green-blind)
#7E7444
Tritanopia (blue-blind)
#567C71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #578040;
/* rgb */ color: rgb(87, 128, 64);
/* oklch */ color: oklch(55.4% 0.103 135.3);
Tailwind
colors: {
  custom: {
    50: '#88a576',
    500: '#578040',
    950: '#000000',
  },
}
SCSS
$custom: #578040;
$custom-light: #88a576;
$custom-dark: #000000;
JSON
{
  "hex": "#578040",
  "rgb": {
    "r": 87,
    "g": 128,
    "b": 64
  },
  "hsl": {
    "h": 98.438,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5537,
    "c": 0.10326,
    "h": 135.3
  },
  "luminance": 0.17835
}

Semantic roles & 50–950 ramp

primary
#578040
secondary
#9574A8
accent
#5EC9A3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C0F08
muted
#7D7F7B

Preview Lab

Preview with #578040

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

Preview Lab → · Contrast checker → · Palette generator →

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