#578D17#578D17

#578D17 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.4% C 0.153 H 132.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#578D17
RGBrgb(87, 141, 23)
HSLhsl(87, 72%, 32%)
HSVhsv(87, 84%, 55%)
CMYKcmyk(38.3%, 0%, 83.7%, 44.7%)
CIE-LABlab(53.10, -36.26, 51.70)
CIE-LCHlch(53.10, 63.15, 125.04°)
OKLaboklab(58.36% -0.1028 0.1135)
OKLCHoklch(58.36% 0.153 132.2)
XYZxyz(13.6099, 21.1373, 4.1732)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578D17 #4D178D
analogous
#8D8817 #578D17 #1C8D17
triadic
#578D17 #17578D #8D1757
tetradic
#578D17 #178D88 #4D178D #8D171C
square
#578D17 #178D88 #4D178D #8D171C
split-complementary
#578D17 #171C8D #88178D
monochromatic
#162406 #37580E #578D17 #77C220 #96E03F

Accessibility & contrast

On white

4.02
#578D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#578D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578D17
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578D17#FFFFFF#000000##000000
##578D171.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#588778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #578d17;
/* rgb */ color: rgb(87, 141, 23);
/* oklch */ color: oklch(58.4% 0.153 132.2);
Tailwind
colors: {
  custom: {
    50: '#8caf60',
    500: '#578d17',
    950: '#000000',
  },
}
SCSS
$custom: #578d17;
$custom-light: #8caf60;
$custom-dark: #000000;
JSON
{
  "hex": "#578d17",
  "rgb": {
    "r": 87,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 87.458,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.15307,
    "h": 132.2
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#578D17
secondary
#7A40C0
accent
#39EF8C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1005
muted
#7D7F7A

Preview Lab

Preview with #578D17

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

Preview Lab → · Contrast checker → · Palette generator →

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