#578C17#578C17

#578C17 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.152 H 132.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#578C17
RGBrgb(87, 140, 23)
HSLhsl(87, 72%, 32%)
HSVhsv(87, 84%, 55%)
CMYKcmyk(37.9%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.78, -35.82, 51.42)
CIE-LCHlch(52.78, 62.66, 124.86°)
OKLaboklab(58.09% -0.1016 0.1128)
OKLCHoklch(58.09% 0.152 132)
XYZxyz(13.4631, 20.8437, 4.1243)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578C17 #4C178C
analogous
#8C8617 #578C17 #1D8C17
triadic
#578C17 #17578C #8C1757
tetradic
#578C17 #178C86 #4C178C #8C171D
square
#578C17 #178C86 #4C178C #8C171D
split-complementary
#578C17 #171D8C #86178C
monochromatic
#162306 #36570E #578C17 #78C120 #96DF3E

Accessibility & contrast

On white

4.06
#578C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#578C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578C17
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578C17#FFFFFF#000000##000000
##578C171.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#588677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #578c17;
/* rgb */ color: rgb(87, 140, 23);
/* oklch */ color: oklch(58.1% 0.152 132.0);
Tailwind
colors: {
  custom: {
    50: '#8bae60',
    500: '#578c17',
    950: '#000000',
  },
}
SCSS
$custom: #578c17;
$custom-light: #8bae60;
$custom-dark: #000000;
JSON
{
  "hex": "#578c17",
  "rgb": {
    "r": 87,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 87.179,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.15182,
    "h": 132
  },
  "luminance": 0.20844
}

Semantic roles & 50–950 ramp

primary
#578C17
secondary
#793FBF
accent
#39EF8B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #578C17

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

Preview Lab → · Contrast checker → · Palette generator →

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