#578A20#578A20

#578A20 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.6% C 0.145 H 132.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#578A20
RGBrgb(87, 138, 32)
HSLhsl(89, 62%, 33%)
HSVhsv(89, 77%, 54%)
CMYKcmyk(37%, 0%, 76.8%, 45.9%)
CIE-LABlab(52.18, -34.44, 47.97)
CIE-LCHlch(52.18, 59.05, 125.68°)
OKLaboklab(57.62% -0.0972 0.107)
OKLCHoklch(57.62% 0.145 132.3)
XYZxyz(13.2795, 20.3069, 4.5862)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578A20 #53208A
analogous
#8A8820 #578A20 #228A20
triadic
#578A20 #20578A #8A2057
tetradic
#578A20 #208A88 #53208A #8A2022
square
#578A20 #208A88 #53208A #8A2022
split-complementary
#578A20 #20228A #88208A
monochromatic
#182709 #385814 #578A20 #76BC2C #95D64E

Accessibility & contrast

On white

4.15
#578A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#578A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578A20
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578A20#FFFFFF#000000##000000
##578A201.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F09
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#588476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #578a20;
/* rgb */ color: rgb(87, 138, 32);
/* oklch */ color: oklch(57.6% 0.145 132.3);
Tailwind
colors: {
  custom: {
    50: '#8bac64',
    500: '#578a20',
    950: '#000000',
  },
}
SCSS
$custom: #578a20;
$custom-light: #8bac64;
$custom-dark: #000000;
JSON
{
  "hex": "#578a20",
  "rgb": {
    "r": 87,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 88.868,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.14461,
    "h": 132.3
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#578A20
secondary
#814DB9
accent
#42E591
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578A20

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

Preview Lab → · Contrast checker → · Palette generator →

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