#578E20#578E20

#578E20 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.150 H 132.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#578E20
RGBrgb(87, 142, 32)
HSLhsl(90, 63%, 34%)
HSVhsv(90, 77%, 56%)
CMYKcmyk(38.7%, 0%, 77.5%, 44.3%)
CIE-LABlab(53.47, -36.22, 49.21)
CIE-LCHlch(53.47, 61.11, 126.36°)
OKLaboklab(58.67% -0.1021 0.1096)
OKLCHoklch(58.67% 0.15 132.9)
XYZxyz(13.8640, 21.4759, 4.7810)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578E20 #57208E
analogous
#8E8E20 #578E20 #208E20
triadic
#578E20 #20578E #8E2057
tetradic
#578E20 #208E8E #57208E #8E2020
square
#578E20 #208E8E #57208E #8E2020
split-complementary
#578E20 #20208E #8E208E
monochromatic
#1A2A09 #385C15 #578E20 #76C02B #94D851

Accessibility & contrast

On white

3.97
#578E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#578E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578E20
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578E20#FFFFFF#000000##000000
##578E201.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948206
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#578879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #578e20;
/* rgb */ color: rgb(87, 142, 32);
/* oklch */ color: oklch(58.7% 0.150 132.9);
Tailwind
colors: {
  custom: {
    50: '#8baf64',
    500: '#578e20',
    950: '#000000',
  },
}
SCSS
$custom: #578e20;
$custom-light: #8baf64;
$custom-dark: #000000;
JSON
{
  "hex": "#578e20",
  "rgb": {
    "r": 87,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.14979,
    "h": 132.9
  },
  "luminance": 0.21477
}

Semantic roles & 50–950 ramp

primary
#578E20
secondary
#854FBB
accent
#42E694
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578E20

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

Preview Lab → · Contrast checker → · Palette generator →

#578E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva