#578945#578945

#578945 is a mid, moderate green. Relative luminance 0.203; OKLCH L 57.8% C 0.112 H 138.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#578945
RGBrgb(87, 137, 69)
HSLhsl(104, 33%, 40%)
HSVhsv(104, 50%, 54%)
CMYKcmyk(36.5%, 0%, 49.6%, 46.3%)
CIE-LABlab(52.23, -30.34, 31.09)
CIE-LCHlch(52.23, 43.44, 134.30°)
OKLaboklab(57.77% -0.0832 0.0751)
OKLCHoklch(57.77% 0.112 138)
XYZxyz(13.9499, 20.3466, 8.8213)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578945 #774589
analogous
#798945 #578945 #458955
triadic
#578945 #455789 #894557
tetradic
#578945 #457989 #774589 #895545
square
#578945 #457989 #774589 #895545
split-complementary
#578945 #554589 #894579
monochromatic
#23381C #3D6031 #578945 #73AE5E #96C286

Accessibility & contrast

On white

4.14
#578945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#578945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578945
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578945#FFFFFF#000000##000000
##5789451.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3F
Deuteranopia (green-blind)
#867B49
Tritanopia (blue-blind)
#558579
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #578945;
/* rgb */ color: rgb(87, 137, 69);
/* oklch */ color: oklch(57.8% 0.112 138.0);
Tailwind
colors: {
  custom: {
    50: '#89ac7a',
    500: '#578945',
    950: '#000000',
  },
}
SCSS
$custom: #578945;
$custom-light: #89ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#578945",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 104.118,
    "s": 33.01,
    "l": 40.392
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.1121,
    "h": 138
  },
  "luminance": 0.20347
}

Semantic roles & 50–950 ramp

primary
#578945
secondary
#A07CAD
accent
#5FC9AD
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #578945

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

Preview Lab → · Contrast checker → · Palette generator →

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